Solar_Sql_Adapter_MysqlReplicated::_bind()

protected void Solar_Sql_Adapter_MysqlReplicated::_bind ( PDOStatement $prep , array $data )

Binds an array of scalars as values into a prepared PDOStatment.

Inherited from Solar_Sql_Adapter.

Parameters

  • (PDOStatement) $prep: The prepared PDOStatement.

  • (array) $data: The scalar values to bind into the PDOStatement.

Returns

  • (void)

Description

Binds an array of scalars as values into a prepared PDOStatment.

Array element values that are themselves arrays will not be bound correctly, because PDO expects scalar values only.



Local