class ReeDaoLoadAggTest::UsersAgg
def call(ids_or_scope, **opts)
def call(ids_or_scope, **opts) load_agg(ids_or_scope, users, **opts) do belongs_to :organization has_many :books do has_one :author has_many :chapters has_many :reviews do has_one :review_author end end has_one :passport, foreign_key: :user_id, scope: user_passports field :custom_field, scope: books.where(title: "1984") end end