Liking cljdoc? Tell your friends :D

active.events.db


add-columnclj

(add-column db-src column f)

When events are added then add the given column to the INSERT statement, and set its value to (f event).

When events are added then add the given column to the INSERT statement, and set its value to `(f event)`.
sourceraw docstring

db-event-sourceclj

(db-event-source db table & [opts])

Defines an event source from a database table. The table must have columns named time and value.

Defines an event source from a database table. The table must have columns named `time` and `value`.
sourceraw docstring

edn-serialization-optsclj

source

latest-onlyclj

(latest-only db-src & [limit-expr])

Restrict the given event source to only the latest event.

Restrict the given event source to only the latest event.
sourceraw docstring

restrictclj

(restrict db-src condition)

Restrict the given event source by an additional sql condition.

Restrict the given event source by an additional sql condition.
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