Skip to main content
Version: v4

SequelizeQuery

No description

input SequelizeQuery {
limit: Int
offset: Int
order: JSON
group: JSON
where: JSON
include: JSON
}

Fields

SequelizeQuery.limit ● Int scalar

Corresponds to the maximum number of items returned. Can be used in conjunction with “Offset” and “Order” to implement pagination.

SequelizeQuery.offset ● Int scalar

Corresponds to the number of items skipped before the first returned result. Can be used in conjunction with “Limit” and “Order” to implement pagination.

SequelizeQuery.order ● JSON scalar

Details what attributes and direction results are ordered by. Can be used in conjunction with “Offset” and “Limit” to implement pagination. Note: If you wish to order by an attribute of a nested model, you must include that model and attribute in the requested data OR include feature

SequelizeQuery.group ● JSON scalar

Details what attributes to group. Note: If you wish to order by an attribute of a nested model, you must include that model and attribute in the requested data OR include feature.

SequelizeQuery.where ● JSON scalar

Details requirements of requested model’s attributes to be included in the results. Used to specifically request data that fits a condition.

SequelizeQuery.include ● JSON scalar

Details what additional linked data is eagerly fetched (this is also generated automatically based on what data you request, with both joined), and the conditions additional data must meet to be fetched (see “left” and “right” joins).

Member of

getCreators query ● getEpisodes query ● getFiles query ● getPostParents query ● getPosts query ● getRecipeParents query ● getRecipes query ● getSeries query ● getSeriesParents query