Liking cljdoc? Tell your friends :D

burningswell.db.airports


airport?

(airport? x)

Return true if x is a airport, otherwise false.

Return true if `x` is a airport, otherwise false.
raw docstring

all

(all db & [opts])

Find all rows in db.

Find all rows in `db`.
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-gps-code

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

Find all rows in db by gps-code.

Find all rows in `db` by `gps-code`.
raw docstring

by-iata-code

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

Find all rows in db by iata-code.

Find all rows in `db` by `iata-code`.
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-region-id

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

Find all rows in db by region-id.

Find all rows in `db` by `region-id`.
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-wikipedia-url

(by-wikipedia-url db wikipedia-url & [opts])

Find all rows in db by wikipedia-url.

Find all rows in `db` by `wikipedia-url`.
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 :airports table.

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

honolulu

(honolulu db)

Returns the Honolulu airport.

Returns the Honolulu airport.
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

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
                offset regions sort query],
         :as opts})

Search airports.

Search airports.
raw docstring

select-batch

(select-batch db rows & [opts])

Select the batch of airports rows from table.

Select the batch of airports rows from table.
raw docstring

table

(table)

Returns the airports table.

Returns the airports table.
raw docstring

truncate!

(truncate! db & [opts])

Truncate the airports table.

Truncate the airports 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

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

× close