Warlock.Mocks.Schema (warlock v1.0.1)
Link to this section Summary
Functions
Applies filters for the given user. At this point the model has already checked permissions, so it's just about applying them in the query.
Link to this section Functions
Link to this function
apply_offset(query, arg2)
Link to this function
apply_preloads(query, embeds)
Link to this function
apply_user(query, user)
Applies filters for the given user. At this point the model has already checked permissions, so it's just about applying them in the query.
Link to this function
by_id(host, id)
Link to this function
changeset(struct, params)
Link to this function
count_items(query)
Link to this function
embeds(arg1)
Link to this function
fetch_items(query, params, embeds)
Link to this function
filter_by_admin(query)
Link to this function
filter_by_anyone(query)
Link to this function
filter_by_id(query, arg2)
Link to this function
filter_by_params(query, params)
Link to this function
filter_by_user(query, user)
Link to this function
handle_query(query)
Link to this function
limit_items(query, arg2)
Link to this function
order_items(query, params)
Link to this function
page(page, items)
Link to this function
prepare_query(params, embeds)
Link to this function
private_fields()
Link to this function