Liking cljdoc? Tell your friends :D

com.biffweb.sqlite.schema

Helpers for defining columns. All functions take varargs that can include:

  • flags: :unique, :required, and/or :index in any order
  • followed by a map of additional options

e.g. (s/text :required :unique {:extra-schema ...})

Helpers for defining columns. All functions take varargs that can include:

- flags: :unique, :required, and/or :index in any order
- followed by a map of additional options

e.g. (s/text :required :unique {:extra-schema ...})
raw docstring

?clj

Short-hand for {:optional true}. Can be used in Malli schemas.

Short-hand for {:optional true}. Can be used in Malli schemas.
sourceraw docstring

blobclj

(blob & args)

Returns a map with {:type :blob, ...}

Returns a map with {:type :blob, ...}
sourceraw docstring

boolclj

(bool & args)

Returns a map with {:type :boolean, ...}

Returns a map with {:type :boolean, ...}
sourceraw docstring

ednclj

(edn extra-schema & args)

Returns a map with {:type :edn, :extra-schema extra-schema, ...}

Returns a map with {:type :edn, :extra-schema extra-schema, ...}
sourceraw docstring

enumclj

(enum enum-values & args)

Returns a map with {:type :enum, :enum-values enum-values, ...}

Returns a map with {:type :enum, :enum-values enum-values, ...}
sourceraw docstring

instclj

(inst & args)

Returns a map with {:type :inst, ...}

Returns a map with {:type :inst, ...}
sourceraw docstring

intclj

(int & args)

Returns a map with {:type :int, ...}

Returns a map with {:type :int, ...}
sourceraw docstring

pkeyclj

Short-hand for {:type :uuid :primary-key true}

Short-hand for {:type :uuid :primary-key true}
sourceraw docstring

realclj

(real & args)

Returns a map with {:type :real, ...}

Returns a map with {:type :real, ...}
sourceraw docstring

refclj

(ref target & args)

Returns a map with {:ref target, :type :uuid, ...}

Returns a map with {:ref target, :type :uuid, ...}
sourceraw docstring

textclj

(text & args)

Returns a map with {:type :text, ...}

Returns a map with {:type :text, ...}
sourceraw docstring

uuidclj

(uuid & args)

Returns a map with {:type :uuid, ...}

Returns a map with {:type :uuid, ...}
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close