Liking cljdoc? Tell your friends :D

sails-forth.query

Provides for executing queries using more idiomatic clojure forms

Provides for executing queries using more idiomatic clojure forms
raw docstring

expand-variantsclj

(expand-variants variant-path)

Expands a variant path into a seq of attr paths

Expands a variant path into a seq of attr paths
raw docstring

queryclj

(query client query)

Returns the results of the given query against the given client. The query is a map with a :find keyword whose value must be a vector of keywords and vectors; the first position of any vector is taken to be a reference type. For example, [:account :name [:createdby :lastname]]. The result will be a vector of maps whose structures are given by the find clause, e.g. {:account {:name ... :createdby {:lastname ...}}}

Returns the results of the given query against the given client. The query is
a map with a :find keyword whose value must be a vector of keywords and
vectors; the first position of any vector is taken to be a reference type.
For example, [:account :name [:createdby :lastname]]. The result will be a
vector of maps whose structures are given by the find clause, e.g.
{:account {:name ... :createdby {:lastname ...}}}
raw docstring

query-attr-pathsclj

(query-attr-paths client type attr-paths where)

Queries the given client and type for the given seq of attr-paths, e.g. [[:account :name] [:account :createdby :lastname]]. This returns a vector of maps with keyword paths matching each of the attr-paths, e.g. {:account {:name ... :createdby {:lastname ...}}}. The base type will also have metadata with a :url resolvable by the current client.

Queries the given client and type for the given seq of attr-paths, e.g.
[[:account :name] [:account :createdby :lastname]]. This returns a vector
of maps with keyword paths matching each of the attr-paths, e.g.
{:account {:name ... :createdby {:lastname ...}}}. The base type will also
have metadata with a :url resolvable by the current client.
raw docstring

record-type-idclj

(record-type-id client record-type-name)

record-typesclj

(record-types client)

soql-queryclj

(soql-query client type field-paths where)

Creates a soql query string for the given client, type, and seq of field paths

Creates a soql query string for the given client, type, and seq of field
paths
raw docstring

soql-string-escapeclj

(soql-string-escape s)

soql-whereclj

(soql-where [op & args])

soql-where*clj

(soql-where* where*)

SoqlValuecljprotocol

soql-valueclj

(soql-value _)

update-attr-pathclj

(update-attr-path client where)

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

× close