stch.sql.types documentation

Types for query and DML statements.

->SqlCall

(->SqlCall name args _meta)
Positional factory function for class stch.sql.types.SqlCall.

->SqlParam

(->SqlParam name _meta)
Positional factory function for class stch.sql.types.SqlParam.

->SqlRaw

(->SqlRaw s _meta)
Positional factory function for class stch.sql.types.SqlRaw.

call

(call name & args)
Represents a SQL function call. Name should be a keyword.

param

(param name)
Represents a SQL parameter which can be filled in later

param-name

(param-name param)

raw

(raw s)
Represents a raw SQL string

read-sql-call

(read-sql-call form)

read-sql-param

(read-sql-param form)

read-sql-raw

(read-sql-raw form)