Liking cljdoc? Tell your friends :D

burningswell.db.spots


add-photo!clj

(add-photo! db spot photo & [user])

allclj

(all db & [opts])

Find all rows in db.

Find all rows in `db`.
raw docstring

banzai-pipelineclj

(banzai-pipeline db)

Returns the spot Banzai Pipline, Hawaii, United States.

Returns the spot Banzai Pipline, Hawaii, United States.
raw docstring

by-address-idclj

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

Find all rows in db by address-id.

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

by-country-idclj

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

Find all rows in db by country-id.

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

(by-id db id & [opts])

Find all rows in db by id.

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

(by-name db name & [opts])

Find all rows in db by name.

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

by-photo-idclj

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

Find all rows in db by photo-id.

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

by-region-idclj

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

Find all rows in db by region-id.

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

by-time-zone-idclj

(by-time-zone-id db time-zone-id & [opts])

Find all rows in db by time-zone-id.

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

(by-visible db visible & [opts])

Find all rows in db by visible.

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

delete-photos!clj

(delete-photos! db spot)

Delete all the photos of spot in db.

Delete all the photos of `spot` in `db`.
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 :spots table.

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

menakozclj

(menakoz db)

Returns the spot Meñakoz, Spain.

Returns the spot Meñakoz, Spain.
raw docstring

mundakaclj

(mundaka db)

Returns the spot Mundaka, Spain.

Returns the spot Mundaka, Spain.
raw docstring

padang-padangclj

(padang-padang db)

Returns the spot Padang Padang, Indonesia.

Returns the spot Padang Padang, Indonesia.
raw docstring

page-viewsclj

(page-views db spot & [opts])

Returns the page views for spot.

Returns the page views for `spot`.
raw docstring

sao-lorencoclj

(sao-lorenco db)

Returns the spot São Lorenço, Portugal.

Returns the spot São Lorenço, Portugal.
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

save-cover-photo!clj

(save-cover-photo! db spot photo)

Save photo as the cover photo of spot.

Save `photo` as the cover photo of `spot`.
raw docstring

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

Search spots.

Search spots.
raw docstring

select-batchclj

(select-batch db rows & [opts])

Select the batch of spots rows from table.

Select the batch of spots rows from table.
raw docstring

set-time-zones!clj

(set-time-zones! db)

Set the timezone of all spots.

Set the timezone of all spots.
raw docstring

spot?clj

(spot? x)

Return true if x is a spot, otherwise false.

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

tableclj

(table)

Returns the spots table.

Returns the spots table.
raw docstring

truncate!clj

(truncate! db & [opts])

Truncate the spots table.

Truncate the spots table.
raw docstring

uluwatuclj

(uluwatu db)

Returns the spot Uluwatu, Indonesia.

Returns the spot Uluwatu, Indonesia.
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

update-country!clj

(update-country! db spot country)

Update the country of the spot.

Update the `country` of the `spot`.
raw docstring

update-region!clj

(update-region! db spot region)

Update the region of the spot.

Update the `region` of the `spot`.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close