Class: Doctrine_Expression_Mssql
Source Location: /Doctrine/Expression/Mssql.phpClass Doctrine_Expression_Mssql
Class Overview
Doctrine_Expression_Mssql Located in /Doctrine/Expression/Mssql.php [line 33] Doctrine_Connection_Module | --Doctrine_Expression_Driver | --Doctrine_Expression_MssqlAuthor(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 string to concatenate two or more string parameters |
string | guid() | Returns global unique identifier |
string | now() | Return string to call a variable with the current timestamp inside an SQL statement |
string | substring() | return string to call a function to get a substring inside an SQL statement |
[ Top ]
Properties
Methods
concat [line 75]
|
Returns string to concatenate two or more string parameters
Parameters:string | $arg1: | |
string | $arg2: | |
string | $values...: |
API Tags:
Return: | to concatenate two strings |
Access: | public |
Redefinition of:
- Doctrine_Expression_Driver::concat()
- Returns a series of strings concatinated
[ Top ]
guid [line 85]
|
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 45]
|
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 ]
substring [line 60]
|
return string to call a function to get a substring inside an SQL statement
Parameters:$value: | ||
$position: | ||
$length: |
API Tags:
Return: | to call a function to get a substring |
Access: | public |
Redefinition of:
- Doctrine_Expression_Driver::substring()
- return string to call a function to get a substring inside an SQL statement
[ Top ]