Sending Database Requests
Database Actions
Database ActionsSelect
Select(string $what, string $from, string|null $where, string $action, string|null $order = null, string|null $limit = null)Parameters
Parameter
Type
Description
Example
Example: Selecting the logged in user.
use Saturn\DatabaseManager\DBMS;
$DB = new DBMS();
// Returns the first value as a JSON object.
$DB->Select('*', 'user', 'uuid = '.$_SESSION['uuid'], 'first:object');Insert
Parameters
Parameter
Type
Description
Example
Example: Creating a new page.
Last updated