(execute-and-convert request-method & args)
Call request-method
with provided args
and convert response to
Clojure data.
Catch SOAP API exception and throw proper Clojure ex-info
with
exception data.
Call `request-method` with provided `args` and convert response to Clojure data. Catch SOAP API exception and throw proper Clojure `ex-info` with exception data.
(execute-and-convert-paginated fetch-page-fn page-size params)
Execute SOAP API request and convert response to Clojure data.
If fetch-page-fn
returns non-nil, fetch the next page by calling
it again with page-size
passed as a last argument. Returns only
limit
number of entries.
Execute SOAP API request and convert response to Clojure data. If `fetch-page-fn` returns non-nil, fetch the next page by calling it again with `page-size` passed as a last argument. Returns only `limit` number of entries.
(statement-builder params)
Return an instance of [[StatementBuilder]] class, produced from
provided params
.
Params should be a map that represents a valid PQL query. Supported keys are:
:select
(a vector of columns as keywords):from
(a table name as a keyword):where
(a vector of triples, first item is an operation, second
is a variable name, third is a variable value):order-by
(a vector of a column as a keyword and optional
direction second element. Supported directions are :asc
and
:desc
)Return an instance of [[StatementBuilder]] class, produced from provided `params`. Params should be a map that represents a valid PQL query. Supported keys are: - `:select` (a vector of columns as keywords) - `:from` (a table name as a keyword) - `:where` (a vector of triples, first item is an operation, second is a variable name, third is a variable value) - `:order-by` (a vector of a column as a keyword and optional direction second element. Supported directions are `:asc` and `:desc`)
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |