Module ::exo::db

Overview

Database server interactions This module provides all functions to interact with the database. This module is only available inside service/backend scripts.

Functions

add_favorite

Add a record to a users favorites.

add_inbox

Add a record to a users personal inbox.

delete_record

Delete a record from the database.

exec_sql

Execute a sql-query against the database.

get_model

Get a single model from the database by it's uuid.

get_record

Get a single record from the database by it's uuid.

insert_record

Insert a new record into the database.

is_sudo

Enables or disables super user rights.

push_notification

Sends a push notification to all devices of the defined users.

remove_favorite

Removes a record to from the users favorites.

remove_inbox

Removes a record from a users inbox.

reset_password

Resets the password for a specific user.

set_sudo

Enables or disables super user rights.

update_record_value

Updates a single value of an existing record.