0.10 Doctrine_Expression_Mysql
Doctrine Expression Mysql
Inheritence
Doctrine_Expression_Mysql < Doctrine_Expression_Driver < Doctrine_Connection_Module
Method Summary
- string matchPattern
- string regexp
- string random
- string guid
Methods inherited from Doctrine_Expression_Driver
pi , upper , avg , md5 , add , between , length , ltrim , __call , trim , cos , regexp , not , mul , substring , rtrim , neq , in , mod , now , sum , isNull , sub , lte , sin , gte , count , getIdentifiers , guid , max , eq , getIdentifier , round , lt , gt , div , lower , isNotNull , soundex , concat , acos , locate , minMethod Details
-
$pattern even keys are strings, odd are patterns (% and _) $operator optional pattern operator (LIKE, ILIKE and maybe others in the future) $field optional field name that is being matched against (might be required when emulating ILIKE) (string) matchPattern($pattern, $operator = null, $field = null)
build a pattern matching string
EXPERIMENTAL
WARNING: this function is experimental and may change signature at any time until labelled as non-experimentalDoctrine_Expression_Mysql
-
(string) regexp()
returns the regular expression operator
-
(string) random()
return string to call a function to get random value inside an SQL statement
Doctrine_Expression_Mysql
-
(string) guid()
Returns global unique identifier
Doctrine_Expression_Mysql




Comments (0) [ add comment ]
No Comments
Add Comment