Pt_BR En Ja De Fr 
You are currently viewing the 0.11 branch api documentation. Switch to 1.0 or 1.1

0.11 Doctrine_Expression_Mysql

Doctrine Expression Mysql

Inheritence

Doctrine_Expression_Mysql  < Doctrine_Expression_Driver  < Doctrine_Connection_Module

Method Summary

Returns Name Description
string day
string guid
string matchPattern EXPERIMENTAL WARNING: this function is experimental and may change signature at any time until labelled as non-experimental
string month
string random
string regexp
string year

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 , min

Method Details

  • (string) day($column)

    Returns day from dbms

    Doctrine_Expression_Mysql


  • (string) guid()

    Returns global unique identifier

    Doctrine_Expression_Mysql


  • $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-experimental

    Doctrine_Expression_Mysql


  • (string) month($column)

    Returns the month from dbms

    Doctrine_Expression_Mysql


  • (string) random()

    return string to call a function to get random value inside an SQL statement

    Doctrine_Expression_Mysql


  • (string) regexp()

    returns the regular expression operator


  • (string) year($column)

    Returns the year from dbms

    Doctrine_Expression_Mysql


Comments (0) [ add comment ]

 No Comments

Add Comment

Add New Comment
Please enter follow the doctrine