(object-exists? type id)Inputs: [type :- s/Keyword id :- s/Str] Returns: s/Bool
Returns true if an object exists.
Inputs: [type :- s/Keyword id :- s/Str] Returns: s/Bool Returns true if an object exists.
(produce-streaming-body version query-map query-uuid context)Inputs: [version :- s/Keyword query-map query-uuid :- s/Str context :- query-context-schema]
Given a query, and database connection, return a Ring response with the query results. query-map is a clojure map of the form {:query ['=','certname','foo'] :order_by [{'field':'foo'}]...} If the query can't be parsed, a 400 is returned.
Inputs: [version :- s/Keyword query-map query-uuid :- s/Str context :- query-context-schema]
Given a query, and database connection, return a Ring response with
the query results. query-map is a clojure map of the form
{:query ['=','certname','foo'] :order_by [{'field':'foo'}]...}
If the query can't be parsed, a 400 is returned.(query->sql query entity version options)(query->sql query entity version options context)Converts a vector-structured query to a corresponding SQL query which will
return nodes matching the query.
Converts a vector-structured `query` to a corresponding SQL query which will return nodes matching the `query`.
(stream-query-result version query options context)(stream-query-result version query options context row-fn)Inputs: ([version query options context] [version :- s/Keyword query options context :- query-context-schema row-fn])
Given a query, and database connection, call row-fn on the resulting (munged) row sequence.
Inputs: ([version query options context] [version :- s/Keyword query options context :- query-context-schema row-fn]) Given a query, and database connection, call row-fn on the resulting (munged) row sequence.
(user-query->engine-query version query-map options)(user-query->engine-query _version query-map options warn-experimental)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 |