PgSQLPreparedStatement Class Reference

Inherits PreparedStatementCommon, and PreparedStatement.

List of all members.

Public Member Functions

Protected Member Functions


Member Function Documentation

string PgSQLPreparedStatement::escape ( $str ) [protected, virtual]

 

Quotes string using native pgsql function (pg_escape_string).
Parameters
string $str

Returns string

Implements PreparedStatementCommon.

void PgSQLPreparedStatement::setArray ( $paramIndex, $value )

 

Sets an array. Unless a driver-specific method is used, this means simply serializing the passed parameter and storing it as a string.
Parameters
int $paramIndex
array $value

Returns void
See also PreparedStatement::setArray()

Reimplemented from PreparedStatementCommon.

void PgSQLPreparedStatement::setBoolean ( $paramIndex, $value )

 

For setting value of Postgres BOOLEAN column.
Parameters
int $paramIndex
boolean $value

Returns void

Reimplemented from PreparedStatementCommon.

void PgSQLPreparedStatement::setBlob ( $paramIndex, $blob )

 

Applies sqlite_udf_encode_binary() to ensure that binary contents will be handled correctly by sqlite.
Parameters
int $paramIndex
mixed $blob Blob object or string containing data.

Returns void

Reimplemented from PreparedStatementCommon.


This file is part of the Creole[php5] library.


Copyright © 2004 Hans Lellelid  
Creole[php5] CVS