Liking cljdoc? Tell your friends :D

burningswell.db.regions


allclj

(all db & [opts])

Find all rows in db.

Find all rows in `db`.
raw docstring

andaluciaclj

(andalucia db)

Return the region Andalucía, Spain.

Return the region Andalucía, Spain.
raw docstring

as-geo-jsonclj

(as-geo-json db region)

Return the region as GeoJSON.

Return the `region` as GeoJSON.
raw docstring

as-pngclj

(as-png db region & [opts])

Return the region as PNG.

Return the `region` as PNG.
raw docstring

as-svgclj

(as-svg db region)

Return the region as SVG.

Return the `region` as SVG.
raw docstring

baliclj

(bali db)

Return the region Bali, Indonesia.

Return the region Bali, Indonesia.
raw docstring

by-airport-countclj

(by-airport-count db airport-count & [opts])

Find all rows in db by airport-count.

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

(by-geom db geom & [opts])

Find all rows in db by geom.

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

(by-port-count db port-count & [opts])

Find all rows in db by port-count.

Find all rows in `db` by `port-count`.
raw docstring

by-spotclj

(by-spot db spot)

Returns the region of spot from db.

Returns the region of `spot` from `db`.
raw docstring

by-spot-countclj

(by-spot-count db spot-count & [opts])

Find all rows in db by spot-count.

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

(by-user-count db user-count & [opts])

Find all rows in db by user-count.

Find all rows in `db` by `user-count`.
raw docstring

closestclj

(closest db location & [distance])

Find the closest region to location.

Find the closest region to `location`.
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

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 :regions table.

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

hawaiiclj

(hawaii db)

Return the region Hawaii, United States.

Return the region Hawaii, United States.
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

pais-vascoclj

(pais-vasco db)

Return the region País Vasco, Spain.

Return the region País Vasco, Spain.
raw docstring

region?clj

(region? x)

Return true if x is a region, otherwise false.

Return true if `x` is a region, 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 [countries direction distance except limit location min-spots
                 offset sort query]
          :as opts}])

Search regions.

Search regions.
raw docstring

select-batchclj

(select-batch db rows & [opts])

Select the batch of regions rows from table.

Select the batch of regions rows from table.
raw docstring

select-top-photosclj

(select-top-photos db)

Return the top photo for each region.

Return the top photo for each region.
raw docstring

tableclj

(table)

Returns the regions table.

Returns the regions table.
raw docstring

truncate!clj

(truncate! db & [opts])

Truncate the regions table.

Truncate the regions table.
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-counters!clj

(update-counters! db)

Update the counters of all regions.

Update the counters of all regions.
raw docstring

update-photos!clj

(update-photos! db)

Update the photos of all regions.

Update the photos of all regions.
raw docstring

within-distanceclj

(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`.
raw docstring

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

× close