class Booking::Collection

Overview

Bookings have the zones in an array.

In case of multiple zones as input, we return all bookings that have any of the input zones in their zones array

Defined in:

pg_benchmark.cr:50
pg_benchmark.cr:204
pg_benchmark.cr:208
pg_benchmark.cr:212
pg_benchmark.cr:232
pg_benchmark.cr:245
pg_benchmark.cr:249
pg_benchmark.cr:253
pg_benchmark.cr:257
pg_benchmark.cr:261
pg_benchmark.cr:269
pg_benchmark.cr:278
pg_benchmark.cr:287
pg_benchmark.cr:296
pg_benchmark.cr:309

Instance Method Summary

Instance Method Detail

def booked_between(tenant_id, period_start, period_end) #

[View source]
def by_tenant(tenant_id) #

[View source]
def by_user_id(user_id) #

[View source]
def by_user_or_email(user_id_value, user_email_value, include_booked_by) #

[View source]
def by_zones(zones) #

[View source]
def is_approved(value) #

[View source]
def is_checked_in(value) #

[View source]
def is_created_after(time) #

[View source]
def is_created_before(time) #

[View source]
def is_department(value) #

[View source]
def is_event_id(event_id) #

[View source]
def is_extension_data(value) #

[View source]
def is_rejected(value) #

[View source]
def is_state(state) #

[View source]