(add-photo! db spot photo & [user])(banzai-pipeline db)Returns the spot Banzai Pipline, Hawaii, United States.
Returns the spot Banzai Pipline, Hawaii, United States.
(by-country-id db country-id & [opts])Find all rows in db by country-id.
Find all rows in `db` by `country-id`.
(by-created-at db created-at & [opts])Find all rows in db by created-at.
Find all rows in `db` by `created-at`.
(by-id db id & [opts])Find all rows in db by id.
Find all rows in `db` by `id`.
(by-location db location & [opts])Find all rows in db by location.
Find all rows in `db` by `location`.
(by-name db name & [opts])Find all rows in db by name.
Find all rows in `db` by `name`.
(by-photo-id db photo-id & [opts])Find all rows in db by photo-id.
Find all rows in `db` by `photo-id`.
(by-region-id db region-id & [opts])Find all rows in db by region-id.
Find all rows in `db` by `region-id`.
(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`.
(by-updated-at db updated-at & [opts])Find all rows in db by updated-at.
Find all rows in `db` by `updated-at`.
(by-user-id db user-id & [opts])Find all rows in db by user-id.
Find all rows in `db` by `user-id`.
(by-visible db visible & [opts])Find all rows in db by visible.
Find all rows in `db` by `visible`.
(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`.
(delete-photos! db spot)Delete all the photos of spot in db.
Delete all the photos of `spot` in `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 :spots table.
A generator that produces rows for the :spots 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`.
(menakoz db)Returns the spot Meñakoz, Spain.
Returns the spot Meñakoz, Spain.
(mundaka db)Returns the spot Mundaka, Spain.
Returns the spot Mundaka, Spain.
(padang-padang db)Returns the spot Padang Padang, Indonesia.
Returns the spot Padang Padang, Indonesia.
(sao-lorenco db)Returns the spot São Lorenço, Portugal.
Returns the spot São Lorenço, Portugal.
(save-all! db records & [opts])Save all records to db.
Save all `records` to `db`.
(save-cover-photo! db spot photo)Save photo as the cover photo of spot.
Save `photo` as the cover photo of `spot`.
(search db
&
[{:keys [countries direction distance except limit location offset
regions sort users query]
:as opts}])Search spots.
Search spots.
(select-batch db rows & [opts])Select the batch of spots rows from table.
Select the batch of spots rows from table.
(set-time-zones! db)Set the timezone of all spots.
Set the timezone of all spots.
(spot? x)Return true if x is a spot, otherwise false.
Return true if `x` is a spot, otherwise false.
(truncate! db & [opts])Truncate the spots table.
Truncate the spots table.
(uluwatu db)Returns the spot Uluwatu, Indonesia.
Returns the spot Uluwatu, Indonesia.
(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 builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |