Liking cljdoc? Tell your friends :D

burningswell.db.ratings


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

(by-id db id & [opts])

Find all rows in db by id.

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

by-rated-at

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

Find all rows in db by rated-at.

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

by-rating

(by-rating db rating & [opts])

Find all rows in db by rating.

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

by-spot-id

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

Find all rows in db by spot-id.

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

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

Find all rows in db by user-id.

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

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 :ratings table.

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

rating?

(rating? x)

Return true if x is a rating, otherwise false.

Return true if `x` is a rating, 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

select-batch

(select-batch db rows & [opts])

Select the batch of ratings rows from table.

Select the batch of ratings rows from table.
raw docstring

table

(table)

Returns the ratings table.

Returns the ratings table.
raw docstring

truncate!

(truncate! db & [opts])

Truncate the ratings table.

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