Class: Doctrine_Expression_Mysql
Source Location: /Doctrine/Expression/Mysql.phpClass Doctrine_Expression_Mysql
Class Overview
Doctrine_Expression_Mysql Located in /Doctrine/Expression/Mysql.php [line 33] Doctrine_Connection_Module | --Doctrine_Expression_Driver | --Doctrine_Expression_MysqlAuthor(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 | guid() | Returns global unique identifier |
string | matchPattern() | build a pattern matching string |
string | random() | return string to call a function to get random value inside an SQL statement |
string | regexp() | returns the regular expression operator |
[ Top ]
Properties
Methods
guid [line 106]
|
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 ]
matchPattern [line 70]
|
build a pattern matching string
EXPERIMENTAL
WARNING: this function is experimental and may change signature at any time until labelled as non-experimental
Parameters:array | $pattern: | even keys are strings, odd are patterns (% and _) |
string | $operator: | optional pattern operator (LIKE, ILIKE and maybe others in the future) |
string | $field: | optional field name that is being matched against (might be required when emulating ILIKE) |
API Tags:
Return: | SQL pattern |
Access: | public |
[ Top ]
random [line 49]
|
return string to call a function to get random value inside an SQL statement
API Tags:
Return: | to generate float between 0 and 1 |
Access: | public |
[ Top ]
regexp [line 40]
|
returns the regular expression operator
API Tags:
Access: | public |
Redefinition of:
- Doctrine_Expression_Driver::regexp()
- regexp returns the regular expression operator
[ Top ]