Liking cljdoc? Tell your friends :D

hugcypher.parser


parseclj

(parse cypher-str)
(parse cypher-str {:keys [no-header file]})

Parse hugcypher Cypher string and return sequence of statement definitions of the form: {:header {:name ["my-query"] :doc ["my doc string"] :command [":?"] :result [":1"] :file "sql/queries.sql" :line 12} :cypher ["MATCH (c:User {id:$id}) RETURN c" {:type :v :name :id}]}

Throws clojure.lang.ExceptionInfo on error.

Parse hugcypher Cypher string and return
sequence of statement definitions
of the form:
{:header {:name   ["my-query"]
          :doc    ["my doc string"]
          :command [":?"]
          :result [":1"]
          :file "sql/queries.sql"
          :line 12}
 :cypher ["MATCH (c:User {id:$id}) RETURN c"
          {:type :v :name :id}]}

Throws clojure.lang.ExceptionInfo on error.
raw docstring

read-cypher-map-objectclj

(read-cypher-map-object reader c)

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close