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

Class: SQLiteConnection

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

Class Overview

ConnectionCommon
   |
   --SQLiteConnection

SQLite implementation of Connection.


Author(s):

Version:

  • $Revision: 1.11 $

Methods


Inherited Variables

Inherited Methods

Class: ConnectionCommon

ConnectionCommon::getAutoCommit()
Get auto-commit status.
ConnectionCommon::getDSN()
ConnectionCommon::getFlags()
ConnectionCommon::getResource()
ConnectionCommon::prepareCall()
Creates a CallableStatement object for calling database stored procedures.
ConnectionCommon::setAutoCommit()
Enable/disable automatic commits.
ConnectionCommon::__sleep()
This "magic" method is invoked upon serialize() and works in tandem with the __wakeup() method to ensure that your database connection is serializable.
ConnectionCommon::__wakeup()
This "magic" method is invoked upon unserialize().

Class Details

[line 34]
SQLite implementation of Connection.



Tags:

version:  $Revision: 1.11 $
author:  Hans Lellelid <hans@xmpl.org>
author:  Stig Bakken <ssb@fast.no>
author:  Lukas Smith


[ Top ]


Class Methods


method applyLimit [line 153]

void applyLimit( mixed &$sql, mixed $offset, mixed $limit)



Tags:

access:  public
see:  Connection::applyLimit()


[ Top ]

method close [line 143]

void close( )



Tags:



[ Top ]

method commit [line 201]

void commit( )

Commit the current transaction.



[ Top ]

method connect [line 47]

void connect( mixed $dsninfo, [mixed $flags = 0])



Tags:



[ Top ]

method createStatement [line 134]

void createStatement( )



Tags:

access:  public
see:  Connection::createStatement()


[ Top ]

method executeQuery [line 165]

void executeQuery( mixed $sql, [mixed $fetchmode = null])



Tags:

access:  public
see:  Connection::executeQuery()


[ Top ]

method executeUpdate [line 179]

void executeUpdate( mixed $sql)



Tags:



[ Top ]

method getDatabaseInfo [line 100]

void getDatabaseInfo( )



Tags:

access:  public
see:  Connection::getDatabaseInfo()


[ Top ]

method getIdGenerator [line 109]

void getIdGenerator( )



Tags:

access:  public
see:  Connection::getIdGenerator()


[ Top ]

method getUpdateCount [line 234]

int getUpdateCount( )

Gets the number of rows affected by the data manipulation query.



Tags:

return:  Number of rows affected by the last query.


[ Top ]

method prepareCall [line 127]

void prepareCall( mixed $sql)



Tags:

access:  public
see:  Connection::prepareCall()


Overrides ConnectionCommon::prepareCall() (Creates a CallableStatement object for calling database stored procedures.)

[ Top ]

method prepareStatement [line 118]

void prepareStatement( mixed $sql)



Tags:

access:  public
see:  Connection::prepareStatement()


[ Top ]

method rollback [line 217]

void rollback( )

Roll back (undo) the current transaction.



Tags:

throws:  SQLException


[ Top ]


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