Database Actions

A database action defines what format the function should return the data it retrieves from the database in.

Action
Description

all:assoc

Fetches all rows as an associative array.

all:num

Fetches all rows as a numerical array.

first:assoc

Fetches the first row as an array

first:num

Fetches the first row as a numerical array.

first:object

Fetches the first row as a JSON Object

raw

Returns the raw result with no processing.

Last updated