Liking cljdoc? Tell your friends :D

monkey.ci.entities.core

Core functionality for database entities. Allows to store/retrieve basic entities.

Core functionality for database entities.  Allows to store/retrieve basic entities.
raw docstring

by-buildclj

(by-build id)

by-customerclj

(by-customer id)

by-display-idclj

(by-display-id id)

by-idclj

(by-id id)

by-paramclj

(by-param id)

by-repoclj

(by-repo id)

by-ssh-keyclj

(by-ssh-key id)

by-userclj

(by-user id)

by-uuidclj

(by-uuid uuid)

convert-jobclj


convert-job-selectclj


convert-timedclj


defaggregatecljmacro

(defaggregate n & [opts])

Declares functions that are used to fetch or manipulate entities that depend on others (i.e. that do not have their own uuid).

Declares functions that are used to fetch or manipulate entities that depend on
others (i.e. that do not have their own uuid).
raw docstring

default-optsclj


defentitycljmacro

(defentity n & [opts])

Declares functions that can be used to fetch or manipulate a basic entity in db.

Declares functions that can be used to fetch or manipulate a basic entity in db.
raw docstring

delete-buildsclj


delete-customer-paramsclj


delete-customersclj


delete-entitiesclj

(delete-entities conn table f)

Deletes all entities in the table the match filter f

Deletes all entities in the table the match filter `f`
raw docstring

delete-jobsclj


delete-param-labelsclj


delete-repo-labelsclj


delete-reposclj


delete-ssh-key-labelsclj


delete-ssh-keysclj


delete-user-customersclj


delete-usersclj


delete-webhooksclj


end-time->intclj


extract-idclj


insert-buildclj


insert-customerclj


insert-customer-paramclj


insert-entitiesclj

(insert-entities {:keys [ds sql-opts]} table cols recs)

Batch inserts multiple entities at once. The records are assumed to be vectors of values.

Batch inserts multiple entities at once.  The records are assumed to
be vectors of values.
raw docstring

insert-entityclj

(insert-entity {:keys [ds sql-opts] :as conn} table rec)

insert-jobclj


insert-optsclj


insert-param-labelclj


insert-repoclj


insert-repo-labelclj


insert-repo-labelsclj

(insert-repo-labels conn labels)

Batch inserts multiple labels at once

Batch inserts multiple labels at once
raw docstring

insert-ssh-keyclj


insert-ssh-key-labelclj


insert-userclj


insert-user-customerclj


insert-webhookclj


int->end-timeclj


int->start-timeclj


prepare-jobclj


prepare-timedclj


select-buildclj


select-buildsclj


select-customerclj


select-customer-paramclj


select-customer-paramsclj


select-customersclj


select-entitiesclj

(select-entities {:keys [ds sql-opts]} table f)

Selects entity from table using filter

Selects entity from table using filter
raw docstring

select-entityclj

(select-entity conn table f)

select-jobclj


select-jobsclj


select-optsclj


select-param-labelclj


select-param-labelsclj


select-repoclj


select-repo-labelclj


select-repo-labelsclj


select-reposclj


select-ssh-keyclj


select-ssh-key-labelclj


select-ssh-key-labelsclj


select-ssh-keysclj


select-userclj


select-user-customerclj


select-user-customersclj


select-usersclj


select-webhookclj


select-webhooksclj


start-time->intclj


update-buildclj


update-customerclj


update-customer-paramclj


update-entityclj

(update-entity conn table obj)

Updates entity by id, returns the number of records updated (should be either 0 or 1).

Updates entity by id, returns the number of records updated (should be either 0 or 1).
raw docstring

update-jobclj


update-optsclj


update-param-labelclj


update-repoclj


update-repo-labelclj


update-ssh-keyclj


update-ssh-key-labelclj


update-userclj


update-user-customerclj


update-webhookclj

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

× close