Liking cljdoc? Tell your friends :D

burningswell.db.comments


all

(all db & [opts])

Find all rows in db.

Find all rows in `db`.
raw docstring

by-content

(by-content db content & [opts])

Find all rows in db by content.

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

by-visible

(by-visible db visible & [opts])

Find all rows in db by visible.

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

comment?

(comment? x)

Return true if x is a comment, otherwise false.

Return true if `x` is a comment, otherwise false.
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 :comments table.

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

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 comments rows from table.

Select the batch of comments rows from table.
raw docstring

table

(table)

Returns the comments table.

Returns the comments table.
raw docstring

truncate!

(truncate! db & [opts])

Truncate the comments table.

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