Liking cljdoc? Tell your friends :D

burningswell.db.users


add-profile-photos!

(add-profile-photos! db user photos)

Add the profile photos to user.

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

add-role!

(add-role! db user role)

Add the role to user.

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

all

(all db & [opts])

Find all rows in db.

Find all rows in `db`.
raw docstring

authenticate-password

(authenticate-password db user)

Try to authenticate user with a password.

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

bodhi

(bodhi db)

Returns the user bodhi.

Returns the user bodhi.
raw docstring

by-country-id

(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-at

(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-password

(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-id

(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-id

(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-url

(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-name

(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-id

(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-url

(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-id

(by-id db id & [opts])

Find all rows in db by id.

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

by-last-name

(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-locale

(by-locale db locale & [opts])

Find all rows in db by locale.

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

by-location

(by-location db location & [opts])

Find all rows in db by location.

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

by-name

(by-name db name & [opts])

Find all rows in db by name.

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

by-region-id

(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-id

(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-url

(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-at

(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-username

(by-username db username & [opts])

Find all rows in db by username.

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

delete!

(delete! db record & [opts])

Delete the record from db.

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

delete-all!

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

Delete all records from db.

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

encrypt-password

(encrypt-password db password)

Encrypt password with the Blowfish cipher.

Encrypt `password` with the Blowfish cipher.
raw docstring

exists?

(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

gen

(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?

(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?

(has-role? db user role)

Returns the true if user has role.

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

insert!

(insert! db record & [opts])

Insert record into the db.

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

insert-all!

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

Insert all records into the db.

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

profile-photos

(profile-photos db user)

roach

(roach db)

Returns the user roach.

Returns the user roach.
raw docstring

roman

(roman db)

Returns the user roman.

Returns the user roman.
raw docstring

save!

(save! db record & [opts])

Save record to db.

Save `record` to `db`.
raw docstring

save-all!

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

Save all records to db.

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

save-primary-email!

(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-batch

(select-batch db rows & [opts])

Select the batch of users rows from table.

Select the batch of users rows from table.
raw docstring

table

(table)

Returns the users table.

Returns the users table.
raw docstring

truncate!

(truncate! db & [opts])

Truncate the users table.

Truncate the users table.
raw docstring

update!

(update! db record & [opts])

Update record in the db.

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

update-all!

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

Update all records in the db.

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

update-password!

(update-password! db user password)

Update the password of the user.

Update the `password` of the `user`.
raw docstring

user?

(user? x)

Return true if x is a user, otherwise false.

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

username-available?

(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