Liking cljdoc? Tell your friends :D

phrag.db.core

DB operations to create and resolve GraphQL.

DB operations to create and resolve GraphQL.
raw docstring

apply-argsclj

(apply-args q table-key args ctx)

Applies filter, sort and pagination arguments.

Applies filter, sort and pagination arguments.
sourceraw docstring

create!clj

(create! db rsc raw-map opts)

Executes create statement with parameter map.

Executes create statement with parameter map.
sourceraw docstring

DbAdaptercljprotocol

Protocol for executing DB-specific operations.

Protocol for executing DB-specific operations.

column-infoclj

(column-info adpt table-name)

Retrieves a list of column maps.

Retrieves a list of column maps.

foreign-keysclj

(foreign-keys adpt table-name)

Retrieves a list of foreign key maps.

Retrieves a list of foreign key maps.

primary-keysclj

(primary-keys adpt table-name)

Retrieves a list of primary key maps.

Retrieves a list of primary key maps.

resolve-aggregationclj

(resolve-aggregation adpt table-key selection ctx)

Resolves a root-level aggregation query.

Resolves a root-level aggregation query.

resolve-queryclj

(resolve-query adpt table-key selection ctx)

Resolves a GraphQL query which possibly has nested query objects.

Resolves a GraphQL query which possibly has nested query objects.

table-namesclj

(table-names adpt)

Retrieves a list of table names.

Retrieves a list of table names.

view-namesclj

(view-names adpt)

Retrieves a list of view names.

Retrieves a list of view names.
sourceraw docstring

delete!clj

(delete! db table pk-map)

Executes delete statement with primary key map.

Executes delete statement with primary key map.
sourceraw docstring

read-pgobjectcljmultimethod

Convert returned PGobject to Clojure value.

Convert returned PGobject to Clojure value.
sourceraw docstring

signalclj

(signal args table-key op pre-post ctx)

Calls all interceptor functions applicable.

Calls all interceptor functions applicable.
sourceraw docstring

update!clj

(update! db table pk-map raw-map)

Executes update statement with primary key map and parameter map.

Executes update statement with primary key map and parameter map.
sourceraw docstring

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

× close