(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-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-region-id db region-id & [opts])
Find all rows in db
by region-id
.
Find all rows in `db` by `region-id`.
(by-type db type & [opts])
Find all rows in db
by type
.
Find all rows in `db` by `type`.
(by-updated-at db updated-at & [opts])
Find all rows in db
by updated-at
.
Find all rows in `db` by `updated-at`.
(by-website-url db website-url & [opts])
Find all rows in db
by website-url
.
Find all rows in `db` by `website-url`.
(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 :ports table.
A generator that produces rows for the :ports table.
(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`.
(port? x)
Return true if x
is a port, otherwise false.
Return true if `x` is a port, 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 offset
regions sort query]
:as opts})
Search ports.
Search ports.
(select-batch db rows & [opts])
Select the batch of ports rows from table.
Select the batch of ports rows from table.
(truncate! db & [opts])
Truncate the ports table.
Truncate the ports 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`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close