(available? db email)
Returns true if email
is available, otherwise false.
Returns true if `email` is available, otherwise false.
(by-address db address & [opts])
Find all rows in db
by address
.
Find all rows in `db` by `address`.
(by-created-at db created-at & [opts])
Find all rows in db
by created-at
.
Find all rows in `db` by `created-at`.
(by-gravatar-user-id db gravatar-user-id & [opts])
Find all rows in db
by gravatar-user-id
.
Find all rows in `db` by `gravatar-user-id`.
(by-id db id & [opts])
Find all rows in db
by id
.
Find all rows in `db` by `id`.
(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 db user)
(by-user-id db user-id & [opts])
Find all rows in db
by user-id
.
Find all rows in `db` by `user-id`.
(by-verified-at db verified-at & [opts])
Find all rows in db
by verified-at
.
Find all rows in `db` by `verified-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`.
(email? x)
Return true if x
is a email, otherwise false.
Return true if `x` is a email, otherwise false.
(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 :emails table.
A generator that produces rows for the :emails 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`.
(search db & [{:keys [direction limit offset sort query] :as opts}])
Search emails.
Search emails.
(select-batch db rows & [opts])
Select the batch of emails rows from table.
Select the batch of emails rows from table.
(truncate! db & [opts])
Truncate the emails table.
Truncate the emails 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`.
(update-gravatar! db email user-id)
Update the Gravatar user id for email
.
Update the Gravatar user id for `email`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close