Liking cljdoc? Tell your friends :D

datumbazo.record


define-make-instanceclj

(define-make-instance table)

Define the make-instance multi method for table.

Define the `make-instance` multi method for `table`.
sourceraw docstring

define-recordclj

(define-record table)
source

delete-recordscljmultimethod

Delete records of class in db.

Delete `records` of `class` in `db`.
sourceraw docstring

exists?clj

(exists? db class record)

Returns true if the record of class can be found in db, otherwise false. Uses the primary key and unique column.

Returns true if the `record` of `class` can be found in `db`,
otherwise false. Uses the primary key and unique column.
sourceraw docstring

find-allclj

(find-all db class & [opts])

Select all rows of class.

Select all rows of `class`.
sourceraw docstring

find-by-columnclj

(find-by-column db class column-kw value & [opts])
source

insert-recordscljmultimethod

Insert records of class into db.

Insert `records` of `class` into `db`.
sourceraw docstring

row-getclj

(row-get record column default-value)
source

save-recordscljmultimethod

Save records of class to db.

Save `records` of `class` to `db`.
sourceraw docstring

select-classcljmultimethod

Return the SELECT statement for class. This statement will be used by all the finder functions that are generated for class.

Return the SELECT statement for `class`. This statement will be
used by all the finder functions that are generated for `class`.
sourceraw docstring

select-column-exprcljmultimethod

source

select-columnscljmultimethod

Return the columns for class used in SELECT and RETURNING clauses.

Return the columns for `class` used in SELECT and RETURNING clauses.
sourceraw docstring

select-valuesclj

(select-values class records)

Return a seq of records that only have the table column keys.

Return a seq of `records` that only have the table column keys.
sourceraw docstring

update-recordscljmultimethod

Update records of class in db.

Update `records` of `class` in `db`.
sourceraw docstring

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

× close