(by-created-at db created-at & [opts])
Find all rows in db
by created-at
.
Find all rows in `db` by `created-at`.
(by-datasource db datasource)
Returns the variables of the datasource
model.
Returns the variables of the `datasource` model.
(by-description db description & [opts])
Find all rows in db
by description
.
Find all rows in `db` by `description`.
(by-id db id & [opts])
Find all rows in db
by id
.
Find all rows in `db` by `id`.
(by-model db model)
Returns the variables of model
.
Returns the variables of `model`.
(by-name db name & [opts])
Find all rows in db
by name
.
Find all rows in `db` by `name`.
(by-names db names)
Returns the variables for the given names
.
Returns the variables for the given `names`.
(by-unit db unit & [opts])
Find all rows in db
by unit
.
Find all rows in `db` by `unit`.
(by-updated-at db updated-at & [opts])
Find all rows in db
by updated-at
.
Find all rows in `db` by `updated-at`.
(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 :variables table.
A generator that produces rows for the :variables table.
(htsgwsfc db)
Return the significant height of combined wind waves and swell variable.
Return the significant height of combined wind waves and swell variable.
(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`.
The mapping from long to short variable names.
The mapping from long to short variable names.
(save-all! db records & [opts])
Save all records
to db
.
Save all `records` to `db`.
(select-batch db rows & [opts])
Select the batch of variables rows from table.
Select the batch of variables rows from table.
(truncate! db & [opts])
Truncate the variables table.
Truncate the variables 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`.
(variable? x)
Return true if x
is a variable, otherwise false.
Return true if `x` is a variable, otherwise false.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close