qbits.hayt.utils

?

? can be used as a query value to mark a prepared statement value ex: (select :foo (where > :foo ?] [< :foo 2]))

append

Append/conjoin element to Map/Set/List

contains

contains can be used as a query value to mark CONTAINS in where clause ex: (select :foo (where contains :foo ...]))

contains-key

contains-key can be used as a query value to mark CONTAINS-KEY in where clause ex: (select :foo (where contains :foo ...]))

dec-by

Decrement counter by x, usable in values and set-columns

frozen

Generates a frozen type definition, takes n arguments

in

in can be used as a query value to mark IN in where clause ex: (select :foo (where in :foo [1 2 3]))

inc-by

Increment counter by x, usable in values and set-columns

list-type

Generates a list type definition, takes a single argument indicating the list elements type

map-type

Generates a map type definition, takes 2 arguments, for key and value types

prepend

Prepend element to List

set-type

Generates a set type definition, takes a single argument indicating the set elements type

tuple-type

Generates a tuple type definition, takes n arguments

user-type

(user-type m)

Marks a map as User Data Type