(by-created-at db created-at & [opts])
Find all rows in db
by created-at
.
Find all rows in `db` by `created-at`.
(by-farm db farm & [opts])
Find all rows in db
by farm
.
Find all rows in `db` by `farm`.
(by-id db id & [opts])
Find all rows in db
by id
.
Find all rows in `db` by `id`.
(by-isfamily db isfamily & [opts])
Find all rows in db
by isfamily
.
Find all rows in `db` by `isfamily`.
(by-isfriend db isfriend & [opts])
Find all rows in db
by isfriend
.
Find all rows in `db` by `isfriend`.
(by-ispublic db ispublic & [opts])
Find all rows in db
by ispublic
.
Find all rows in `db` by `ispublic`.
(by-owner db owner & [opts])
Find all rows in db
by owner
.
Find all rows in `db` by `owner`.
(by-photo-id db photo-id & [opts])
Find all rows in db
by photo-id
.
Find all rows in `db` by `photo-id`.
(by-secret db secret & [opts])
Find all rows in db
by secret
.
Find all rows in `db` by `secret`.
(by-server db server & [opts])
Find all rows in db
by server
.
Find all rows in `db` by `server`.
(by-title db title & [opts])
Find all rows in db
by title
.
Find all rows in `db` by `title`.
(by-updated-at db updated-at & [opts])
Find all rows in db
by updated-at
.
Find all rows in `db` by `updated-at`.
(by-url db url & [opts])
Find all rows in db
by url
.
Find all rows in `db` by `url`.
(delete! db record & [opts])
Delete the record
from db
.
Delete the `record` from `db`.
(delete-all! db records & [opts])
Delete all records
from db
.
Delete all `records` from `db`.
(exists? db record)
Returns true if the record
exists in db
, otherwise false.
Returns true if the `record` exists in `db`, otherwise false.
(gen)
(gen db)
A generator that produces rows for the :photos table.
A generator that produces rows for the :photos table.
(insert! db record & [opts])
Insert record
into the db
.
Insert `record` into the `db`.
(insert-all! db records & [opts])
Insert all records
into the db
.
Insert all `records` into the `db`.
(photo? x)
Return true if x
is a photo, otherwise false.
Return true if `x` is a photo, otherwise false.
(save-all! db records & [opts])
Save all records
to db
.
Save all `records` to `db`.
(select-batch db rows & [opts])
Select the batch of photos rows from table.
Select the batch of photos rows from table.
(truncate! db & [opts])
Truncate the photos table.
Truncate the photos table.
(update! db record & [opts])
Update record
in the db
.
Update `record` in the `db`.
(update-all! db records & [opts])
Update all records
in the db
.
Update all `records` in the `db`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close