Provides for executing queries using more idiomatic clojure forms
Provides for executing queries using more idiomatic clojure forms
(expand-variants variant-path)
Expands a variant path into a seq of attr paths
Expands a variant path into a seq of attr paths
(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 ...}}}
(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.
(record-type-id client record-type-name)
(record-types client)
(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
(soql-string-escape s)
(soql-where [op & args])
(soql-where* where*)
(soql-value _)
(update-attr-path client where)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close