(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)`.
(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`.
(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.
(restrict db-src condition)
Restrict the given event source by an additional sql condition.
Restrict the given event source by an additional sql condition.
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |