FaaPz\PDO\Clause\Method implements QueryInterface
November 6, 2021 ยท View on GitHub
Used in Call statement.
Constructor
__construct(string $name, ...$args)
All Method args are parameterized by default. Please use the Raw class to prevent this behavior if not desired.
| Parameter | Description |
|---|---|
$name | Name of the method to call |
$values | Array of arguments for this method |
Example
use FaaPz\PDO\Clause\Method;
// CALL MyProcedure(?, ?)
$statement = $database->call(new Method("MyProcedure", "arg1", 2));