Sending Database Requests
Last updated
Last updated
A database action defines what format the function should return the data it retrieves from the database in. For more information on Database Actions please see the actions page.
The Select() function allows you to select information from the database.
Parameter | Type | Description | Example |
---|---|---|---|
The Select() function allows you to insert information into the database.
Parameter | Type | Description | Example |
---|---|---|---|
$into
string
The database table (don't include the prefix, it does this automatically).
id
$columns
string
The columns to insert data into.
pages
$values
string
The data to insert.
`content` IS NOT NULL
$what
string
What it should select.
id
$from
string
The database table (don't include the prefix, it does this automatically).
pages
$where
string or null
Any conditions you require.
`content` IS NOT NULL
$action
string
What it should do with the data.
all:assoc
$order
string or null (optional)
Any specific order you'd like the data in.
`url` DESC
$limit
string or null (optional)
Limit the amount of data being returned.
100