Class: Doctrine_Connection_Pgsql
Source Location: /Doctrine/Connection/Pgsql.phpClass Doctrine_Connection_Pgsql
Class Overview
Doctrine_Connection_Pgsql Located in /Doctrine/Connection/Pgsql.php [line 34] Doctrine_Object | --Doctrine_Configurable | --Doctrine_Connection | --Doctrine_Connection_Common | --Doctrine_Connection_PgsqlAuthor(s):
|
[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties | Inherited Methods | Inherited Constants |
---|---|---|
Inherited From Doctrine_Connection
Inherited From Doctrine_Configurable Inherited From Doctrine_Object |
Inherited From Doctrine_Connection_Common
Inherited From Doctrine_Connection
Inherited From Doctrine_Configurable
Inherited From Doctrine_Object
|
[ Top ]
Property Summary
Method Summary
Doctrine_Connection_Pgsql | __construct() | the constructor |
void | convertBooleans() | convertBoolean some drivers need the boolean values to be converted into integers when using DQL API |
array|string | getServerVersion() | return version information about the server |
string | modifyLimitQuery() | Changes a query string for various DBMS specific reasons |
void | setCharset() | Set the charset on the current connection |
[ Top ]
Properties
Methods
Constructor __construct [line 46]
|
the constructor
Parameters:Doctrine_Manager | $manager: | |
PDO | $pdo: | database handle |
$adapter: |
API Tags:
Access: | public |
Redefinition of:
- Doctrine_Connection::__construct()
- the constructor
[ Top ]
convertBooleans [line 102]
|
convertBoolean some drivers need the boolean values to be converted into integers when using DQL API
This method takes care of that conversion
Parameters:array | $item: |
API Tags:
Access: | public |
Redefinition of:
- Doctrine_Connection::convertBooleans()
- convertBooleans some drivers need the boolean values to be converted into integers when using DQL API
[ Top ]
getServerVersion [line 159]
|
return version information about the server
Parameters:string | $native: | determines if the raw version string should be returned |
API Tags:
Return: | an array or string with version information |
Access: | public |
[ Top ]
modifyLimitQuery [line 126]
|
Changes a query string for various DBMS specific reasons
Parameters:string | $query: | query to modify |
integer | $limit: | limit the number of rows |
integer | $offset: | start reading from given offset |
boolean | $isManip: | if the query is a DML query |
API Tags:
Return: | modified query |
Access: | public |
Redefinition of:
- Doctrine_Connection_Common::modifyLimitQuery()
- Adds an driver-specific LIMIT clause to the query
[ Top ]
setCharset [line 87]
|
Set the charset on the current connection
Parameters:string | $charset: | charset |
API Tags:
Access: | public |
Redefinition of:
- Doctrine_Connection::setCharset()
- Set the charset on the current connection
[ Top ]