Liking cljdoc? Tell your friends :D
Clojure only.

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

->tsclj

(->ts s)
source

by-buildclj

(by-build id)
source

by-cuidclj

(by-cuid cuid)
source

by-customerclj

(by-customer id)
source

by-display-idclj

(by-display-id id)
source

by-idclj

(by-id id)
source

by-paramsclj

(by-params id)
source

by-repoclj

(by-repo id)
source

by-ssh-keyclj

(by-ssh-key id)
source

by-userclj

(by-user id)
source

convert-buildclj

source

convert-build-selectclj

source

convert-jobclj

source

convert-job-selectclj

source

convert-label-filtersclj

source

convert-label-filters-selectclj

source

convert-timedclj

source

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 cuid).

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

default-optsclj

source

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.
sourceraw docstring

delete-buildsclj

source

delete-customer-param-valuesclj

source

delete-customer-paramsclj

source

delete-customersclj

source

delete-email-registrationsclj

source

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`
sourceraw docstring

delete-jobsclj

source

delete-join-requestsclj

source

delete-repo-labelsclj

source

delete-reposclj

source

delete-ssh-keysclj

source

delete-user-customersclj

source

delete-usersclj

source

delete-webhooksclj

source

details->ednclj

source

details->jobclj

source

edn->detailsclj

source

edn->gitclj

source

end-time->intclj

source

EpochConvertablecljprotocol

->epochclj

(->epoch x)
source

extract-idclj

source

git->buildclj

source

git->ednclj

source

insert-buildclj

source

insert-customerclj

source

insert-customer-paramclj

source

insert-customer-param-valueclj

source

insert-customer-param-valuesclj

(insert-customer-param-values conn values)

Batch inserts multiple parameter values at once

Batch inserts multiple parameter values at once
sourceraw docstring

insert-email-registrationclj

source

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.
sourceraw docstring

insert-entityclj

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

insert-jobclj

source

insert-join-requestclj

source

insert-optsclj

source

insert-repoclj

source

insert-repo-labelclj

source

insert-repo-labelsclj

(insert-repo-labels conn labels)

Batch inserts multiple labels at once

Batch inserts multiple labels at once
sourceraw docstring

insert-ssh-keyclj

source

insert-userclj

source

insert-user-customerclj

source

insert-user-customersclj

(insert-user-customers conn user-id cust-ids)

Batch inserts user/customer links

Batch inserts user/customer links
sourceraw docstring

insert-webhookclj

source

int->end-timeclj

source

int->start-timeclj

source

label-filter-conversionsclj

source

prepare-buildclj

source

prepare-jobclj

source

prepare-label-filtersclj

source

prepare-timedclj

source

selectclj

(select {:keys [ds sql-opts]} query)

Formats and executes the given query

Formats and executes the given query
sourceraw docstring

select-buildclj

source

select-buildsclj

source

select-customerclj

source

select-customer-paramclj

source

select-customer-param-valueclj

source

select-customer-param-valuesclj

source

select-customer-paramsclj

source

select-customersclj

source

select-email-registrationclj

source

select-email-registrationsclj

source

select-entitiesclj

(select-entities conn table f)

Selects entity from table using filter

Selects entity from table using filter
sourceraw docstring

select-entityclj

(select-entity conn table f)
source

select-jobclj

source

select-jobsclj

source

select-join-requestclj

source

select-join-requestsclj

source

select-optsclj

source

select-repoclj

source

select-repo-labelclj

source

select-repo-labelsclj

source

select-reposclj

source

select-ssh-keyclj

source

select-ssh-keysclj

source

select-userclj

source

select-user-customerclj

source

select-user-customersclj

source

select-usersclj

source

select-webhookclj

source

select-webhooksclj

source

source->strclj

source

start-time->intclj

source

status->strclj

source

str->sourceclj

source

str->statusclj

source

update-buildclj

source

update-customerclj

source

update-customer-paramclj

source

update-customer-param-valueclj

source

update-email-registrationclj

source

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).
sourceraw docstring

update-jobclj

source

update-join-requestclj

source

update-optsclj

source

update-repoclj

source

update-repo-labelclj

source

update-ssh-keyclj

source

update-userclj

source

update-user-customerclj

source

update-webhookclj

source

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

× close