Liking cljdoc? Tell your friends :D

common-clj.porteiro.db.postgresql.customer


add-role!clj

(add-role! customer-id role database-conn)

Inputs: [customer-id :- s/Uuid role :- s/Keyword database-conn] Returns: (s/maybe models.customer/Customer)

Inputs: [customer-id :- s/Uuid role :- s/Keyword database-conn]
Returns: (s/maybe models.customer/Customer)
sourceraw docstring

by-usernameclj

(by-username username database-conn)

Inputs: [username :- s/Str database-conn] Returns: (s/maybe models.customer/Customer)

Inputs: [username :- s/Str database-conn]
Returns: (s/maybe models.customer/Customer)
sourceraw docstring

insert!clj

(insert! {:customer/keys [id username name roles hashed-password]}
         database-conn)

Inputs: [#:customer{:keys [id username name roles hashed-password]} :- models.customer/Customer database-conn] Returns: models.customer/Customer

Inputs: [#:customer{:keys [id username name roles hashed-password]} :- models.customer/Customer database-conn]
Returns: models.customer/Customer
sourceraw docstring

lookupclj

(lookup customer-id database-conn)

Inputs: [customer-id :- s/Uuid database-conn] Returns: (s/maybe models.customer/Customer)

Inputs: [customer-id :- s/Uuid database-conn]
Returns: (s/maybe models.customer/Customer)
sourceraw docstring

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

× close