Liking cljdoc? Tell your friends :D

burningswell.db.photos


all

(all db & [opts])

Find all rows in db.

Find all rows in `db`.
raw docstring

by-content-disposition

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

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

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

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

(by-dislikes db dislikes & [opts])

Find all rows in db by dislikes.

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

by-height

(by-height db height & [opts])

Find all rows in db by height.

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

(by-likes db likes & [opts])

Find all rows in db by likes.

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

by-location

(by-location db location & [opts])

Find all rows in db by location.

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

by-source

(by-source db source & [opts])

Find all rows in db by source.

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

by-source-url

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

(by-spot db spot & [opts])

Return all photos of spot from db.

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

by-status

(by-status db status & [opts])

Find all rows in db by status.

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

by-storage-key

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

(by-title db title & [opts])

Find all rows in db by title.

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

(by-url db url & [opts])

Find all rows in db by url.

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

by-user-and-url

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

(by-width db width & [opts])

Find all rows in db by width.

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

dislike!

(dislike! db user photo)

Dislike the given photo as user.

Dislike the given `photo` as `user`.
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 :photos table.

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

like!

(like! db user photo)

Like the given photo as user.

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

photo?

(photo? x)

Return true if x is a photo, otherwise false.

Return true if `x` is a photo, 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 distance except limit location offset sort
                 users query],
          :as opts}])

Search photos.

Search photos.
raw docstring

select-batch

(select-batch db rows & [opts])

Select the batch of photos rows from table.

Select the batch of photos rows from table.
raw docstring

table

(table)

Returns the photos table.

Returns the photos table.
raw docstring

truncate!

(truncate! db & [opts])

Truncate the photos table.

Truncate the photos table.
raw docstring

undislike!

(undislike! db user photo)

Un-dislike the given photo as user.

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

unlike!

(unlike! db user photo)

Unlike the given photo as user.

Unlike the given `photo` as `user`.
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