Liking cljdoc? Tell your friends :D

burningswell.db.users


add-profile-photos!clj

(add-profile-photos! db user photos)

Add the profile photos to user.

Add the profile `photos` to `user`.
raw docstring

add-role!clj

(add-role! db user role)

Add the role to user.

Add the `role` to `user`.
raw docstring

allclj

(all db & [opts])

Find all rows in db.

Find all rows in `db`.
raw docstring

authenticate-passwordclj

(authenticate-password db user)

Try to authenticate user with a password.

Try to authenticate `user` with a password.
raw docstring

bodhiclj

(bodhi db)

Returns the user bodhi.

Returns the user bodhi.
raw docstring

by-country-idclj

(by-country-id db country-id & [opts])

Find all rows in db by country-id.

Find all rows in `db` by `country-id`.
raw docstring

by-created-atclj

(by-created-at db created-at & [opts])

Find all rows in db by created-at.

Find all rows in `db` by `created-at`.
raw docstring

by-crypted-passwordclj

(by-crypted-password db crypted-password & [opts])

Find all rows in db by crypted-password.

Find all rows in `db` by `crypted-password`.
raw docstring

by-email-idclj

(by-email-id db email-id & [opts])

Find all rows in db by email-id.

Find all rows in `db` by `email-id`.
raw docstring

by-facebook-idclj

(by-facebook-id db facebook-id & [opts])

Find all rows in db by facebook-id.

Find all rows in `db` by `facebook-id`.
raw docstring

by-facebook-urlclj

(by-facebook-url db facebook-url & [opts])

Find all rows in db by facebook-url.

Find all rows in `db` by `facebook-url`.
raw docstring

by-first-nameclj

(by-first-name db first-name & [opts])

Find all rows in db by first-name.

Find all rows in `db` by `first-name`.
raw docstring

by-google-idclj

(by-google-id db google-id & [opts])

Find all rows in db by google-id.

Find all rows in `db` by `google-id`.
raw docstring

by-google-urlclj

(by-google-url db google-url & [opts])

Find all rows in db by google-url.

Find all rows in `db` by `google-url`.
raw docstring

by-idclj

(by-id db id & [opts])

Find all rows in db by id.

Find all rows in `db` by `id`.
raw docstring

by-last-nameclj

(by-last-name db last-name & [opts])

Find all rows in db by last-name.

Find all rows in `db` by `last-name`.
raw docstring

by-localeclj

(by-locale db locale & [opts])

Find all rows in db by locale.

Find all rows in `db` by `locale`.
raw docstring

by-locationclj

(by-location db location & [opts])

Find all rows in db by location.

Find all rows in `db` by `location`.
raw docstring

by-nameclj

(by-name db name & [opts])

Find all rows in db by name.

Find all rows in `db` by `name`.
raw docstring

by-region-idclj

(by-region-id db region-id & [opts])

Find all rows in db by region-id.

Find all rows in `db` by `region-id`.
raw docstring

by-twitter-idclj

(by-twitter-id db twitter-id & [opts])

Find all rows in db by twitter-id.

Find all rows in `db` by `twitter-id`.
raw docstring

by-twitter-urlclj

(by-twitter-url db twitter-url & [opts])

Find all rows in db by twitter-url.

Find all rows in `db` by `twitter-url`.
raw docstring

by-updated-atclj

(by-updated-at db updated-at & [opts])

Find all rows in db by updated-at.

Find all rows in `db` by `updated-at`.
raw docstring

by-usernameclj

(by-username db username & [opts])

Find all rows in db by username.

Find all rows in `db` by `username`.
raw docstring

delete!clj

(delete! db record & [opts])

Delete the record from db.

Delete the `record` from `db`.
raw docstring

delete-all!clj

(delete-all! db records & [opts])

Delete all records from db.

Delete all `records` from `db`.
raw docstring

encrypt-passwordclj

(encrypt-password db password)

Encrypt password with the Blowfish cipher.

Encrypt `password` with the Blowfish cipher.
raw docstring

exists?clj

(exists? db record)

Returns true if the record exists in db, otherwise false.

Returns true if the `record` exists in `db`, otherwise false.
raw docstring

genclj

(gen)
(gen db)

A generator that produces rows for the :users table.

A generator that produces rows for the :users table.
raw docstring

has-role-name?clj

(has-role-name? db user role)

Returns the true if user has role name.

Returns the true if `user` has `role` name.
raw docstring

has-role?clj

(has-role? db user role)

Returns the true if user has role.

Returns the true if `user` has `role`.
raw docstring

insert!clj

(insert! db record & [opts])

Insert record into the db.

Insert `record` into the `db`.
raw docstring

insert-all!clj

(insert-all! db records & [opts])

Insert all records into the db.

Insert all `records` into the `db`.
raw docstring

roachclj

(roach db)

Returns the user roach.

Returns the user roach.
raw docstring

romanclj

(roman db)

Returns the user roman.

Returns the user roman.
raw docstring

save!clj

(save! db record & [opts])

Save record to db.

Save `record` to `db`.
raw docstring

save-all!clj

(save-all! db records & [opts])

Save all records to db.

Save all `records` to `db`.
raw docstring

save-primary-email!clj

(save-primary-email! db user email)

Set the users primary email address to email.

Set the `user`s primary email address to `email`.
raw docstring

(search db
        {:keys [direction distance limit location offset sort query] :as opts})

Search users.

Search users.
raw docstring

select-batchclj

(select-batch db rows & [opts])

Select the batch of users rows from table.

Select the batch of users rows from table.
raw docstring

stormriderclj

(stormrider db)

Returns the user stormrider.

Returns the user stormrider.
raw docstring

tableclj

(table)

Returns the users table.

Returns the users table.
raw docstring

truncate!clj

(truncate! db & [opts])

Truncate the users table.

Truncate the users table.
raw docstring

update!clj

(update! db record & [opts])

Update record in the db.

Update `record` in the `db`.
raw docstring

update-all!clj

(update-all! db records & [opts])

Update all records in the db.

Update all `records` in the `db`.
raw docstring

user?clj

(user? x)

Return true if x is a user, otherwise false.

Return true if `x` is a user, otherwise false.
raw docstring

username-available?clj

(username-available? db username)

Returns true if username is available, otherwise false.

Returns true if `username` is available, otherwise false.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close