Liking cljdoc? Tell your friends :D

burningswell.db.roles


admin

(admin db)

Returns the admin role.

Returns the admin role.
raw docstring

all

(all db & [opts])

Find all rows in db.

Find all rows in `db`.
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-description

(by-description db description & [opts])

Find all rows in db by description.

Find all rows in `db` by `description`.
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-name

(by-name db name & [opts])

Find all rows in db by name.

Find all rows in `db` by `name`.
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-user

(by-user db user & [opts])

Find all roles of user in db.

Find all roles of `user` in `db`.
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

editor

(editor db)

Returns the editor role.

Returns the editor role.
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 :roles table.

A generator that produces rows for the :roles table.
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

role?

(role? x)

Return true if x is a role, otherwise false.

Return true if `x` is a role, otherwise false.
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

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

Search roles.

Search roles.
raw docstring

select-batch

(select-batch db rows & [opts])

Select the batch of roles rows from table.

Select the batch of roles rows from table.
raw docstring

surfer

(surfer db)

Returns the surfer role.

Returns the surfer role.
raw docstring

table

(table)

Returns the roles table.

Returns the roles table.
raw docstring

truncate!

(truncate! db & [opts])

Truncate the roles table.

Truncate the roles 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

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

× close