Liking cljdoc? Tell your friends :D

burningswell.db.ports


allclj

(all db & [opts])

Find all rows in db.

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

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

(by-type db type & [opts])

Find all rows in db by type.

Find all rows in `db` by `type`.
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-website-urlclj

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

Find all rows in db by website-url.

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

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

honoluluclj

(honolulu db)

Returns the Honolulu port.

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

port?clj

(port? x)

Return true if x is a port, otherwise false.

Return true if `x` is a port, 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 offset
                regions sort query]
         :as opts})

Search ports.

Search ports.
raw docstring

select-batchclj

(select-batch db rows & [opts])

Select the batch of ports rows from table.

Select the batch of ports rows from table.
raw docstring

tableclj

(table)

Returns the ports table.

Returns the ports table.
raw docstring

truncate!clj

(truncate! db & [opts])

Truncate the ports table.

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

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

× close