Class: Doctrine_Expression_Oracle
Source Location: /Doctrine/Expression/Oracle.phpClass Doctrine_Expression_Oracle
Class Overview
Doctrine_Expression_Sqlite Located in /Doctrine/Expression/Oracle.php [line 33] Doctrine_Connection_Module | --Doctrine_Expression_Driver | --Doctrine_Expression_OracleAuthor(s):
|
[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties | Inherited Methods | Inherited Constants |
---|---|---|
Inherited From Doctrine_Connection_Module |
Inherited From Doctrine_Expression_Driver
Inherited From Doctrine_Connection_Module
|
[ Top ]
Method Summary
string | concat() | Returns a series of strings concatinated |
string | guid() | Returns global unique identifier |
string | now() | Return string to call a variable with the current timestamp inside an SQL statement |
string | random() | random |
string | substring() | return string to call a function to get a substring inside an SQL statement |
[ Top ]
Properties
Methods
concat [line 44]
|
Returns a series of strings concatinated
concat() accepts an arbitrary number of parameters. Each parameter must contain an expression
Parameters:string | $arg1,: | $arg2 ... $argN strings that will be concatinated. |
API Tags:
Access: | public |
Redefinition of:
- Doctrine_Expression_Driver::concat()
- Returns a series of strings concatinated
[ Top ]
guid [line 100]
|
Returns global unique identifier
API Tags:
Return: | to get global unique identifier |
Access: | public |
Redefinition of:
- Doctrine_Expression_Driver::guid()
- Returns global unique identifier
[ Top ]
now [line 76]
|
Return string to call a variable with the current timestamp inside an SQL statement
There are three special variables for current date and time:
- CURRENT_TIMESTAMP (date and time, TIMESTAMP type)
- CURRENT_DATE (date, DATE type)
- CURRENT_TIME (time, TIME type)
$type: |
API Tags:
Return: | to call a variable with the current timestamp |
Access: | public |
Redefinition of:
- Doctrine_Expression_Driver::now()
- Returns the current system date.
[ Top ]
random [line 91]
|
random
API Tags:
Return: | an oracle SQL string that generates a float between 0 and 1 |
Access: | public |
[ Top ]
substring [line 60]
|
return string to call a function to get a substring inside an SQL statement
Note: Not SQL92, but common functionality.
Parameters:string | $value: | an sql string literal or column name/alias |
integer | $position: | where to start the substring portion |
integer | $length: | the substring portion length |
API Tags:
Return: | SQL substring function with given parameters |
Access: | public |
Redefinition of:
- Doctrine_Expression_Driver::substring()
- return string to call a function to get a substring inside an SQL statement
[ Top ]