Liking cljdoc? Tell your friends :D

clorum-core.users


allclj

(all db)

Returns all rows in the users table.

Returns all rows in the users table.
sourceraw docstring

createclj

(create db params)

Inserts a new user with the passed parameters.

Inserts a new user with the passed parameters.
sourceraw docstring

deleteclj

(delete db id)

Deletes the user with the specified id.

Deletes the user with the specified id.
sourceraw docstring

getclj

(get db id)

Returns the user with the specified id.

Returns the user with the specified id.
sourceraw docstring

get-by-nameclj

(get-by-name db username)

Returns the user with the specified name.

Returns the user with the specified name.
sourceraw docstring

get-discussionsclj

(get-discussions db author)

Returns all discussions started by the user (ignores non-verified entries).

Returns all discussions started by the user (ignores non-verified entries).
sourceraw docstring

get-repliesclj

(get-replies db author)

Returns all replies made by the user (ignores non-verified entries).

Returns all replies made by the user (ignores non-verified entries).
sourceraw docstring

saveclj

(save db id params)

Updates the user with the specified id with the passed parameters if the given password is correct.

Updates the user with the specified id with the passed parameters if the given password is correct.
sourceraw docstring

save-adminclj

(save-admin db id params)

Updates the user with the specified id with the passed parameters without verifying the user.

Updates the user with the specified id with the passed parameters without verifying the user.
sourceraw docstring

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

× close