Liking cljdoc? Tell your friends :D

burningswell.db.regions


all

(all db & [opts])

Find all rows in db.

Find all rows in `db`.
raw docstring

andalucia

(andalucia db)

Return the region Andalucía, Spain.

Return the region Andalucía, Spain.
raw docstring

as-geo-json

(as-geo-json db region)

Return the region as GeoJSON.

Return the `region` as GeoJSON.
raw docstring

as-png

(as-png db region & [opts])

Return the region as PNG.

Return the `region` as PNG.
raw docstring

as-svg

(as-svg db region)

Return the region as SVG.

Return the `region` as SVG.
raw docstring

bali

(bali db)

Return the region Bali, Indonesia.

Return the region Bali, Indonesia.
raw docstring

bizkaia

(bizkaia db)

Return the region Bizkaia, Spain.

Return the region Bizkaia, Spain.
raw docstring

by-airport-count

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

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

(by-geom db geom & [opts])

Find all rows in db by geom.

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

(by-location db location & [opts])

Find all rows in db by location.

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

by-name

(by-name db name & [opts])

Find all rows in db by name.

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

by-photo-id

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

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

(by-spot db spot)

Returns the region of spot from db.

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

by-spot-count

(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-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-user-count

(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

closest

(closest db location & [distance])

Find the closest region to location.

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

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

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

hawaii

(hawaii db)

Return the region Hawaii, United States.

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

page-views

(page-views db region & [opts])

Returns the page views for region.

Returns the page views for `region`.
raw docstring

pais-vasco

(pais-vasco db)

Return the region País Vasco, Spain.

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

region?

(region? x)

Return true if x is a region, otherwise false.

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

Search regions.

Search regions.
raw docstring

select-batch

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

(select-top-photos db)

Return the top photo for each region.

Return the top photo for each region.
raw docstring

table

(table)

Returns the regions table.

Returns the regions table.
raw docstring

truncate!

(truncate! db & [opts])

Truncate the regions table.

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

update-counters!

(update-counters! db)

Update the counters of all regions.

Update the counters of all regions.
raw docstring

update-photos!

(update-photos! db)

Update the photos of all regions.

Update the photos of all regions.
raw docstring

within-distance

(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