(add-prologue! query-or-update-req prologue)
Add prologue
to the query or update request.
Add `prologue` to the query or update request.
(create-prologue opts [_ query-update-ast])
Create a new Prologue instance from query-update-ast
, based on its
:base
and :prefixes
.
Create a new Prologue instance from `query-update-ast`, based on its `:base` and `:prefixes`.
(merge-prologues pro-1 pro-2)
Merge the two prologues; pro-2
's base URI overrides pro-1
's (if
it exists) and pro-2
's prefix mapping gets merged onto pro-1
's.
Merge the two prologues; `pro-2`'s base URI overrides `pro-1`'s (if it exists) and `pro-2`'s prefix mapping gets merged onto `pro-1`'s.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close