creole.drivers.sqlite
[ class tree: creole.drivers.sqlite ] [ index: creole.drivers.sqlite ] [ all elements ]

Class: SQLitePreparedStatement

Source Location: /creole/drivers/sqlite/SQLitePreparedStatement.php

Class Overview

PreparedStatementCommon
   |
   --SQLitePreparedStatement

MySQL subclass for prepared statements.


Author(s):

Version:

  • $Revision: 1.7 $

Methods


Inherited Variables

Inherited Methods

Class: PreparedStatementCommon

PreparedStatementCommon::__construct()
Create new prepared statement instance.
PreparedStatementCommon::close()
Nothing to close for emulated prepared statements.
PreparedStatementCommon::escape()
Escapes special characters (usu. quotes) using native driver function.
PreparedStatementCommon::executeQuery()
Executes the SQL query in this PreparedStatement object and returns the resultset generated by the query.
PreparedStatementCommon::executeUpdate()
Executes the SQL INSERT, UPDATE, or DELETE statement in this PreparedStatement object.
PreparedStatementCommon::getConnection()
PreparedStatementCommon::getLimit()
PreparedStatementCommon::getMoreResults()
PreparedStatementCommon::getOffset()
PreparedStatementCommon::getResource()
Statement resources do not exist for emulated prepared statements, so this just returns
  1. null
.
PreparedStatementCommon::getResultSet()
PreparedStatementCommon::getUpdateCount()
PreparedStatementCommon::replaceParams()
Replaces placeholders with the specified parameter values in the SQL.
PreparedStatementCommon::set()
A generic set method.
PreparedStatementCommon::setArray()
Sets an array.
PreparedStatementCommon::setBlob()
PreparedStatementCommon::setBoolean()
Sets a boolean value.
PreparedStatementCommon::setClob()
PreparedStatementCommon::setDate()
PreparedStatementCommon::setDecimal()
PreparedStatementCommon::setDouble()
PreparedStatementCommon::setFloat()
PreparedStatementCommon::setInt()
PreparedStatementCommon::setInteger()
Alias for setInt()
PreparedStatementCommon::setLimit()
PreparedStatementCommon::setNull()
PreparedStatementCommon::setOffset()
PreparedStatementCommon::setString()
PreparedStatementCommon::setTime()
PreparedStatementCommon::setTimestamp()

Class Details

[line 32]
MySQL subclass for prepared statements.



Tags:

version:  $Revision: 1.7 $
author:  Hans Lellelid <hans@xmpl.org>


[ Top ]


Class Methods


method escape [line 38]

void escape( mixed $str)

Quotes string using native sqlite_escape_string() function.



Tags:

access:  protected
see:  ResultSetCommon::escape()


Overrides PreparedStatementCommon::escape() (Escapes special characters (usu. quotes) using native driver function.)

[ Top ]

method setBlob [line 48]

void setBlob( mixed $paramIndex, mixed $blob)

Applies sqlite_udf_encode_binary() to ensure that binary contents will be handled correctly by sqlite.



Tags:



Overrides PreparedStatementCommon::setBlob() (parent method not documented)

[ Top ]


Documentation generated on Mon, 23 Aug 2004 21:53:14 -0400 by phpDocumentor 1.3.0RC3