Liking cljdoc? Tell your friends :D

phrag.resolver

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..
raw docstring

aggregate-rootclj

(aggregate-root table-key ctx args _val)

Resolves aggregation query at root level.

Resolves aggregation query at root level.
sourceraw docstring

args->sql-paramsclj

(args->sql-params col-keys args selections default-limit)
source

create-rootclj

(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.
sourceraw docstring

delete-rootclj

(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.
sourceraw docstring

list-partitioned-queryclj

(list-partitioned-query db table p-col-key pk-keys params)
source

resolve-errorcljmacro

(resolve-error body)
source

resolve-queryclj

(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.
sourceraw docstring

signalclj

(signal args sgnl-fns ctx)
source

update-rootclj

(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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close