Liking cljdoc? Tell your friends :D

pg-realtime.utils


def-sqlcljmacro

(def-sql name filename)

Defines a var whose value is the contents of a SQL file located in resources/sql.

Defines a var whose value is the contents of a SQL file located in resources/sql.
sourceraw docstring

hash-resultsclj

(hash-results results)

Create a hash of query results to detect changes.

Create a hash of query results to detect changes.
sourceraw docstring

op->kwclj

(op->kw op)
source

render-sqlclj

(render-sql sql-template replacements)

Replaces placeholders in the SQL template with provided values. Placeholders are designated as TEMPLATE_key and replaced with corresponding string values.

Replaces placeholders in the SQL template with provided values.
Placeholders are designated as TEMPLATE_key and replaced with corresponding string values.
sourceraw docstring

table->kwclj

(table->kw table)
source

table-kw->strclj

(table-kw->str table)
source

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

× close