public PDOStatement executePrepared (PDOStatement $statement, array $placeholders, array $dataTypes)
Executes a prepared statement binding. This function uses integer indexes starting from zero
1 2 3 4 | use Phalcon\Db\Column; $statement = $db ->prepare( 'SELECT * FROM robots WHERE name = :name' ); $result = $connection ->executePrepared( $statement , [ 'name' => 'Voltron' ], [ 'name' => Column::BIND_PARAM_INT]); |
Please login to continue.