Liking cljdoc? Tell your friends :D

burningswell.db.countries


allclj

(all db & [opts])

Find all rows in db.

Find all rows in `db`.
raw docstring

as-pngclj

(as-png db country & [opts])

Return the country as PNG.

Return the `country` as PNG.
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-areaclj

(by-area db area & [opts])

Find all rows in db by area.

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

by-continent-idclj

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

Find all rows in db by continent-id.

Find all rows in `db` by `continent-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-fips-codeclj

(by-fips-code db fips-code & [opts])

Find all rows in db by fips-code.

Find all rows in `db` by `fips-code`.
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-geonames-idclj

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

Find all rows in db by geonames-id.

Find all rows in `db` by `geonames-id`.
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-iso-3166-1-alpha-2clj

(by-iso-3166-1-alpha-2 db iso-3166-1-alpha-2 & [opts])

Find all rows in db by iso-3166-1-alpha-2.

Find all rows in `db` by `iso-3166-1-alpha-2`.
raw docstring

by-iso-3166-1-alpha-3clj

(by-iso-3166-1-alpha-3 db iso-3166-1-alpha-3 & [opts])

Find all rows in db by iso-3166-1-alpha-3.

Find all rows in `db` by `iso-3166-1-alpha-3`.
raw docstring

by-iso-3166-1-numericclj

(by-iso-3166-1-numeric db iso-3166-1-numeric & [opts])

Find all rows in db by iso-3166-1-numeric.

Find all rows in `db` by `iso-3166-1-numeric`.
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-phone-prefixclj

(by-phone-prefix db phone-prefix & [opts])

Find all rows in db by phone-prefix.

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

(by-population db population & [opts])

Find all rows in db by population.

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

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

Find all rows in db by region-count.

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

by-spotclj

(by-spot db spot)

Returns the country of spot from db.

Returns the country 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 country to location.

Find the closest country to `location`.
raw docstring

country?clj

(country? x)

Return true if x is a country, otherwise false.

Return true if `x` is a country, otherwise false.
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 :countries table.

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

germanyclj

(germany db)

Find the country Germany.

Find the country Germany.
raw docstring

indonesiaclj

(indonesia db)

Find the country Indonesia.

Find the country Indonesia.
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

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 [continents direction distance except limit location min-spots
                 offset sort query]
          :as opts}])

Search countries.

Search countries.
raw docstring

select-batchclj

(select-batch db rows & [opts])

Select the batch of countries rows from table.

Select the batch of countries rows from table.
raw docstring

select-top-photosclj

(select-top-photos db)

Return the top photo for each country.

Return the top photo for each country.
raw docstring

spainclj

(spain db)

Find the country Spain.

Find the country Spain.
raw docstring

tableclj

(table)

Returns the countries table.

Returns the countries table.
raw docstring

truncate!clj

(truncate! db & [opts])

Truncate the countries table.

Truncate the countries table.
raw docstring

united-statesclj

(united-states db)

Find the country United States.

Find the country United States.
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 countries.

Update the counters of all countries.
raw docstring

update-photos!clj

(update-photos! db)

Update the photos of all countries.

Update the photos of all countries.
raw docstring

within-distanceclj

(within-distance db location distance & [opts])

Return the countries in db within distance in km to location.

Return the countries in `db` within `distance` in km to `location`.
raw docstring

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

× close