Liking cljdoc? Tell your friends :D

phrag.resolver

Resolvers for Phrag's GraphQL schema. Queries are executed at each nest level to batch nested queries and avoid N+1 problem while allowing use of limit.

Resolvers for Phrag's GraphQL schema. Queries are executed at each nest level
to batch nested queries and avoid N+1 problem while allowing use of `limit`.
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

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

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

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