(by-created-at db created-at & [opts])Find all rows in db by created-at.
Find all rows in `db` by `created-at`.
(by-id db id & [opts])Find all rows in db by id.
Find all rows in `db` by `id`.
(by-rating db rating & [opts])Find all rows in db by rating.
Find all rows in `db` by `rating`.
(by-spot-id db spot-id & [opts])Find all rows in db by spot-id.
Find all rows in `db` by `spot-id`.
(by-started-at db started-at & [opts])Find all rows in db by started-at.
Find all rows in `db` by `started-at`.
(by-stopped-at db stopped-at & [opts])Find all rows in db by stopped-at.
Find all rows in `db` by `stopped-at`.
(by-updated-at db updated-at & [opts])Find all rows in db by updated-at.
Find all rows in `db` by `updated-at`.
(by-user-id db user-id & [opts])Find all rows in db by user-id.
Find all rows in `db` by `user-id`.
(delete! db record & [opts])Delete the record from db.
Delete the `record` from `db`.
(delete-all! db records & [opts])Delete all records from db.
Delete all `records` from `db`.
(exists? db record)Returns true if the record exists in db, otherwise false.
Returns true if the `record` exists in `db`, otherwise false.
(gen)(gen db)A generator that produces rows for the :sessions table.
A generator that produces rows for the :sessions table.
(insert! db record & [opts])Insert record into the db.
Insert `record` into the `db`.
(insert-all! db records & [opts])Insert all records into the db.
Insert all `records` into the `db`.
(save-all! db records & [opts])Save all records to db.
Save all `records` to `db`.
(select-batch db rows & [opts])Select the batch of sessions rows from table.
Select the batch of sessions rows from table.
(session? x)Return true if x is a session, otherwise false.
Return true if `x` is a session, otherwise false.
(truncate! db & [opts])Truncate the sessions table.
Truncate the sessions table.
(update! db record & [opts])Update record in the db.
Update `record` in the `db`.
(update-all! db records & [opts])Update all records in the db.
Update all `records` in the `db`.
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 |