(andalucia db)
Return the region Andalucía, Spain.
Return the region Andalucía, Spain.
(as-geo-json db region)
Return the region
as GeoJSON.
Return the `region` as GeoJSON.
(as-png db region & [opts])
Return the region
as PNG.
Return the `region` as PNG.
(by-airport-count db airport-count & [opts])
Find all rows in db
by airport-count
.
Find all rows in `db` by `airport-count`.
(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-geom db geom & [opts])
Find all rows in db
by geom
.
Find all rows in `db` by `geom`.
(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-port-count db port-count & [opts])
Find all rows in db
by port-count
.
Find all rows in `db` by `port-count`.
(by-spot db spot)
Returns the region of spot
from db
.
Returns the region of `spot` from `db`.
(by-spot-count db spot-count & [opts])
Find all rows in db
by spot-count
.
Find all rows in `db` by `spot-count`.
(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-count db user-count & [opts])
Find all rows in db
by user-count
.
Find all rows in `db` by `user-count`.
(closest db location & [distance])
Find the closest region to location
.
Find the closest region to `location`.
(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 :regions table.
A generator that produces rows for the :regions table.
(hawaii db)
Return the region Hawaii, United States.
Return the region Hawaii, United States.
(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`.
(pais-vasco db)
Return the region País Vasco, Spain.
Return the region País Vasco, Spain.
(region? x)
Return true if x
is a region, otherwise false.
Return true if `x` is a region, otherwise false.
(save-all! db records & [opts])
Save all records
to db
.
Save all `records` to `db`.
(search db
&
[{:keys [countries direction distance except limit location min-spots
offset sort query]
:as opts}])
Search regions.
Search regions.
(select-batch db rows & [opts])
Select the batch of regions rows from table.
Select the batch of regions rows from table.
(select-top-photos db)
Return the top photo for each region.
Return the top photo for each region.
(truncate! db & [opts])
Truncate the regions table.
Truncate the regions 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`.
(update-counters! db)
Update the counters of all regions.
Update the counters of all regions.
(update-photos! db)
Update the photos of all regions.
Update the photos of all regions.
(within-distance db location distance & [opts])
Return the regions in db
within distance
in km to location
.
Return the regions in `db` within `distance` in km to `location`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close