(by-created-at db created-at & [opts])
Find all rows in db
by created-at
.
Find all rows in `db` by `created-at`.
(by-display-name db display-name & [opts])
Find all rows in db
by display-name
.
Find all rows in `db` by `display-name`.
(by-hash db hash & [opts])
Find all rows in db
by hash
.
Find all rows in `db` by `hash`.
(by-id db id & [opts])
Find all rows in db
by id
.
Find all rows in `db` by `id`.
(by-preferred-username db preferred-username & [opts])
Find all rows in db
by preferred-username
.
Find all rows in `db` by `preferred-username`.
(by-profile-url db profile-url & [opts])
Find all rows in db
by profile-url
.
Find all rows in `db` by `profile-url`.
(by-request-hash db request-hash & [opts])
Find all rows in db
by request-hash
.
Find all rows in `db` by `request-hash`.
(by-thumbnail-url db thumbnail-url & [opts])
Find all rows in db
by thumbnail-url
.
Find all rows in `db` by `thumbnail-url`.
(by-updated-at db updated-at & [opts])
Find all rows in db
by updated-at
.
Find all rows in `db` by `updated-at`.
(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 :users table.
A generator that produces rows for the :users 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 users rows from table.
Select the batch of users rows from table.
(truncate! db & [opts])
Truncate the users table.
Truncate the users 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`.
(user? x)
Return true if x
is a user, otherwise false.
Return true if `x` is a user, otherwise false.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close