(add-profile-photos! db user photos)
Add the profile photos
to user
.
Add the profile `photos` to `user`.
(authenticate-password db user)
Try to authenticate user
with a password.
Try to authenticate `user` with a password.
(by-country-id db country-id & [opts])
Find all rows in db
by country-id
.
Find all rows in `db` by `country-id`.
(by-created-at db created-at & [opts])
Find all rows in db
by created-at
.
Find all rows in `db` by `created-at`.
(by-crypted-password db crypted-password & [opts])
Find all rows in db
by crypted-password
.
Find all rows in `db` by `crypted-password`.
(by-email-id db email-id & [opts])
Find all rows in db
by email-id
.
Find all rows in `db` by `email-id`.
(by-facebook-id db facebook-id & [opts])
Find all rows in db
by facebook-id
.
Find all rows in `db` by `facebook-id`.
(by-facebook-url db facebook-url & [opts])
Find all rows in db
by facebook-url
.
Find all rows in `db` by `facebook-url`.
(by-first-name db first-name & [opts])
Find all rows in db
by first-name
.
Find all rows in `db` by `first-name`.
(by-google-id db google-id & [opts])
Find all rows in db
by google-id
.
Find all rows in `db` by `google-id`.
(by-google-url db google-url & [opts])
Find all rows in db
by google-url
.
Find all rows in `db` by `google-url`.
(by-id db id & [opts])
Find all rows in db
by id
.
Find all rows in `db` by `id`.
(by-last-name db last-name & [opts])
Find all rows in db
by last-name
.
Find all rows in `db` by `last-name`.
(by-locale db locale & [opts])
Find all rows in db
by locale
.
Find all rows in `db` by `locale`.
(by-location db location & [opts])
Find all rows in db
by location
.
Find all rows in `db` by `location`.
(by-name db name & [opts])
Find all rows in db
by name
.
Find all rows in `db` by `name`.
(by-region-id db region-id & [opts])
Find all rows in db
by region-id
.
Find all rows in `db` by `region-id`.
(by-twitter-id db twitter-id & [opts])
Find all rows in db
by twitter-id
.
Find all rows in `db` by `twitter-id`.
(by-twitter-url db twitter-url & [opts])
Find all rows in db
by twitter-url
.
Find all rows in `db` by `twitter-url`.
(by-updated-at db updated-at & [opts])
Find all rows in db
by updated-at
.
Find all rows in `db` by `updated-at`.
(by-username db username & [opts])
Find all rows in db
by username
.
Find all rows in `db` by `username`.
(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`.
(encrypt-password db password)
Encrypt password
with the Blowfish cipher.
Encrypt `password` with the Blowfish cipher.
(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.
(has-role-name? db user role)
Returns the true if user
has role
name.
Returns the true if `user` has `role` name.
(has-role? db user role)
Returns the true if user
has role
.
Returns the true if `user` has `role`.
(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`.
(profile-photos db user)
(save-all! db records & [opts])
Save all records
to db
.
Save all `records` to `db`.
(save-primary-email! db user email)
Set the user
s primary email address to email
.
Set the `user`s primary email address to `email`.
(search db
{:keys [direction distance limit location offset sort query] :as opts})
Search users.
Search users.
(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.
(username-available? db username)
Returns true if username
is available, otherwise false.
Returns true if `username` is available, otherwise false.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close