FaaPz\PDO\Clause\Method implements QueryInterface
Used in Call statement.
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 |
use FaaPz\PDO\Clause\Method;
// CALL MyProcedure(?, ?)
$statement = $database->call(new Method("MyProcedure", "arg1", 2));