$database->execute()
Executes a sql query, which is expected to not return a set of results
$database->execute(string $query, array $bindings = [ ]): bool
Parameters
| Name | Type | Default |
|---|---|---|
| $queryrequired | string |
no default value |
| $bindings | array |
[ ]
|
Return type
bool
This method modifies the existing $database object it is applied to and returns it again.