[ Index ]
 

Code source de Symfony 1.0.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/vendor/creole/drivers/mssql/ -> MSSQLConnection.php (sommaire)

(pas de description)

Poids: 283 lignes (9 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

MSSQLConnection:: (14 méthodes):
  connect()
  getDatabaseInfo()
  getIdGenerator()
  prepareStatement()
  createStatement()
  applyLimit()
  close()
  executeQuery()
  executeUpdate()
  beginTrans()
  commitTrans()
  rollbackTrans()
  getUpdateCount()
  prepareCall()


Classe: MSSQLConnection  - X-Ref

MS SQL Server implementation of Connection.

If you have trouble with BLOB / CLOB support
--------------------------------------------

You may need to change some PHP ini settings.  In particular, the following settings
set the text size to maximum which should get around issues with truncated data:
<code>
ini_set('mssql.textsize', 2147483647);
ini_set('mssql.textlimit', 2147483647);
</code>
We do not set these by default (anymore) because they do not apply to cases where MSSQL
is being used w/ FreeTDS.

connect($dsninfo, $flags = 0)   X-Ref


getDatabaseInfo()   X-Ref


getIdGenerator()   X-Ref


prepareStatement($sql)   X-Ref


createStatement()   X-Ref


applyLimit(&$sql, $offset, $limit)   X-Ref
Returns false since MSSQL doesn't support this method.


close()   X-Ref


executeQuery($sql, $fetchmode = null)   X-Ref


executeUpdate($sql)   X-Ref


beginTrans()   X-Ref
Start a database transaction.

return: void

commitTrans()   X-Ref
Commit the current transaction.

return: void

rollbackTrans()   X-Ref
Roll back (undo) the current transaction.

return: void

getUpdateCount()   X-Ref
Gets the number of rows affected by the last query.
if the last query was a select, returns 0.

return: int Number of rows affected by the last query

prepareCall($sql)   X-Ref
Creates a CallableStatement object for calling database stored procedures.

param: string $sql
return: CallableStatement



Généré le : Fri Mar 16 22:42:14 2007 par Balluche grâce à PHPXref 0.7