com.borkdal.squirrel.def-utils

comma-join

(comma-join sql-strings)

Joins strings with commas.

compile-either

macro

(compile-either & entities)

Compiles the first sub-entity present.

compile-either-seq

macro

(compile-either-seq & entity-seqs)

Compiles the first sub-entity sequence present.

compile-seq

(compile-seq entities)

Compiles sequence of sub-entities.

compile-when-present

(compile-when-present entity)

Compiles entity if it exists.

parenthesize

(parenthesize & strings)

Surrounds a sequence of strings with parentheses.