Resolvers for Phrag's GraphQL schema. Queries are executed with Superlifter and Urania to batch nested queries and avoid N+1 problem..
Resolvers for Phrag's GraphQL schema. Queries are executed with Superlifter and Urania to batch nested queries and avoid N+1 problem..
(aggregate-root table-key ctx args _val)
Resolves aggregation query at root level.
Resolves aggregation query at root level.
(create-root table-key table ctx args _val)
Creates root object and attempts to return primary keys. In case of SQLite,
last_insert_rowid
is checked and replaced with a primary key.
Creates root object and attempts to return primary keys. In case of SQLite, `last_insert_rowid` is checked and replaced with a primary key.
(delete-root table-key table ctx args _val)
Resolves delete mutation. Takes pk_columns
parameter as a record identifier.
Resolves delete mutation. Takes `pk_columns` parameter as a record identifier.
(resolve-query table-key table ctx args _val)
Resolves query recursively for nests if there's any.
Resolves query recursively for nests if there's any.
(update-root table-key table ctx args _val)
Resolves update mutation. Takes pk_columns
parameter as a record identifier.
Resolves update mutation. Takes `pk_columns` parameter as a record identifier.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close