Liking cljdoc? Tell your friends :D

puppetlabs.puppetdb.query-eng


*diagnostic-inter-row-sleep*clj

source

entity-fn-idxclj

source

get-mungeclj

(get-munge entity)
source

get-munge-fnclj

(get-munge-fn entity version paging-options url-prefix)
source

munge-fn-hookclj

source

object-exists?clj

(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.
sourceraw docstring

orderable-columnsclj

(orderable-columns query-rec)
source

produce-streaming-bodyclj

(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.
sourceraw docstring

query->sqlclj

(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`.
sourceraw docstring

query-context-schemaclj

source

query-terminatedclj

(query-terminated id origin)
source

query-terminated-msgclj

(query-terminated-msg id origin)
source

query-timeoutclj

(query-timeout id origin)
source

stream-query-resultclj

(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.
sourceraw docstring

user-query->engine-queryclj

(user-query->engine-query version query-map options)
(user-query->engine-query _version query-map options warn-experimental)
source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close