class Booking::Collection
- Booking::Collection
- Clear::Model::CollectionBase(Booking)
- Reference
- Object
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:50pg_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
- #booked_between(tenant_id, period_start, period_end)
- #by_tenant(tenant_id)
- #by_user_id(user_id)
- #by_user_or_email(user_id_value, user_email_value, include_booked_by)
- #by_zones(zones)
- #is_approved(value)
- #is_checked_in(value)
- #is_created_after(time)
- #is_created_before(time)
- #is_department(value)
- #is_event_id(event_id)
- #is_extension_data(value)
- #is_rejected(value)
- #is_state(state)