Liking cljdoc? Tell your friends :D

burningswell.db.ports


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-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-type

(by-type db type & [opts])

Find all rows in db by type.

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

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

(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 :ports table.

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

honolulu

(honolulu db)

Returns the Honolulu port.

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

port?

(port? x)

Return true if x is a port, otherwise false.

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

Search ports.

Search ports.
raw docstring

select-batch

(select-batch db rows & [opts])

Select the batch of ports rows from table.

Select the batch of ports rows from table.
raw docstring

table

(table)

Returns the ports table.

Returns the ports table.
raw docstring

truncate!

(truncate! db & [opts])

Truncate the ports table.

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