Query
Extracts data from a database table using a custom SQL query.
Options
Connection
Name of the database connection to use.
Type
Default value
string
default
Bindings
Values to bind to the query statement.
Type
Default value
array
[]
Using prepared statement with named placeholders select * from users where status = :status
:
Using prepared statement with question mark placeholders select * from users where status = ?
:
Last updated