(all db)
Returns all rows in the users table.
Returns all rows in the users table.
(create db params)
Inserts a new user with the passed parameters.
Inserts a new user with the passed parameters.
(delete db id)
Deletes the user with the specified id.
Deletes the user with the specified id.
(get db id)
Returns the user with the specified id.
Returns the user with the specified id.
(get-by-name db username)
Returns the user with the specified name.
Returns the user with the specified name.
(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).
(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).
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close