class Attendee::Collection

Overview

:doc: Clear::Model::Collection

This is the object managing a SELECT request. A new collection is created by calling Clear::Model.query

Collection are mutable and refining the SQL will mutate the collection. You may want to copy the collection by calling dup

See Clear::Model::CollectionBase

Defined in:

models/attendee.cr:2
models/attendee.cr:15
models/attendee.cr:19

Instance Method Summary

Instance Method Detail

def by_bookings(tenant_id, booking_ids) #

[View source]
def by_tenant(tenant_id) #

[View source]
def with_booking(fetch_columns = false, &block : Booking::Collection -> ) : self #

def with_booking(fetch_columns = false) : self #

def with_event_metadata(fetch_columns = false, &block : EventMetadata::Collection -> ) : self #

def with_event_metadata(fetch_columns = false) : self #

def with_guest(fetch_columns = false, &block : Guest::Collection -> ) : self #

def with_guest(fetch_columns = false) : self #

def with_tenant(fetch_columns = false, &block : Tenant::Collection -> ) : self #

def with_tenant(fetch_columns = false) : self #