Liking cljdoc? Tell your friends :D

burningswell.db.photos


allclj

(all db & [opts])

Find all rows in db.

Find all rows in `db`.
raw docstring

by-content-dispositionclj

(by-content-disposition db content-disposition & [opts])

Find all rows in db by content-disposition.

Find all rows in `db` by `content-disposition`.
raw docstring

by-content-lengthclj

(by-content-length db content-length & [opts])

Find all rows in db by content-length.

Find all rows in `db` by `content-length`.
raw docstring

by-content-md5clj

(by-content-md5 db content-md5 & [opts])

Find all rows in db by content-md5.

Find all rows in `db` by `content-md5`.
raw docstring

by-content-typeclj

(by-content-type db content-type & [opts])

Find all rows in db by content-type.

Find all rows in `db` by `content-type`.
raw docstring

by-created-atclj

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

(by-dislikes db dislikes & [opts])

Find all rows in db by dislikes.

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

by-heightclj

(by-height db height & [opts])

Find all rows in db by height.

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

by-idclj

(by-id db id & [opts])

Find all rows in db by id.

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

by-likesclj

(by-likes db likes & [opts])

Find all rows in db by likes.

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

by-locationclj

(by-location db location & [opts])

Find all rows in db by location.

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

by-sourceclj

(by-source db source & [opts])

Find all rows in db by source.

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

by-source-urlclj

(by-source-url db source-url & [opts])

Find all rows in db by source-url.

Find all rows in `db` by `source-url`.
raw docstring

by-spotclj

(by-spot db spot & [opts])

Return all photos of spot from db.

Return all photos of `spot` from `db`.
raw docstring

by-statusclj

(by-status db status & [opts])

Find all rows in db by status.

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

by-storage-keyclj

(by-storage-key db storage-key & [opts])

Find all rows in db by storage-key.

Find all rows in `db` by `storage-key`.
raw docstring

by-titleclj

(by-title db title & [opts])

Find all rows in db by title.

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

by-updated-atclj

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

(by-url db url & [opts])

Find all rows in db by url.

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

by-user-and-urlclj

(by-user-and-url db user url)

Returns all photos by user and url.

Returns all photos by `user` and `url`.
raw docstring

by-user-idclj

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

(by-width db width & [opts])

Find all rows in db by width.

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

delete!clj

(delete! db record & [opts])

Delete the record from db.

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

delete-all!clj

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

Delete all records from db.

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

dislike!clj

(dislike! db user photo)

Dislike the given photo as user.

Dislike the given `photo` as `user`.
raw docstring

exists?clj

(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

genclj

(gen)
(gen db)

A generator that produces rows for the :photos table.

A generator that produces rows for the :photos table.
raw docstring

insert!clj

(insert! db record & [opts])

Insert record into the db.

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

insert-all!clj

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

Insert all records into the db.

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

like!clj

(like! db user photo)

Like the given photo as user.

Like the given `photo` as `user`.
raw docstring

photo?clj

(photo? x)

Return true if x is a photo, otherwise false.

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

save!clj

(save! db record & [opts])

Save record to db.

Save `record` to `db`.
raw docstring

save-all!clj

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

Save all records to db.

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

(search db
        &
        [{:keys [direction distance except limit location offset sort users
                 query]
          :as opts}])

Search photos.

Search photos.
raw docstring

select-batchclj

(select-batch db rows & [opts])

Select the batch of photos rows from table.

Select the batch of photos rows from table.
raw docstring

tableclj

(table)

Returns the photos table.

Returns the photos table.
raw docstring

truncate!clj

(truncate! db & [opts])

Truncate the photos table.

Truncate the photos table.
raw docstring

undislike!clj

(undislike! db user photo)

Un-dislike the given photo as user.

Un-dislike the given `photo` as `user`.
raw docstring

unlike!clj

(unlike! db user photo)

Unlike the given photo as user.

Unlike the given `photo` as `user`.
raw docstring

update!clj

(update! db record & [opts])

Update record in the db.

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

update-all!clj

(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