php - how to convert mysql query to zend query? -


I want to change the following sql query to zend the query. How can I convert this mysql query to the flag query with the Flag Framework 2? binary username = "testUser";

thanks

Have you tried this:
Select

  $ => - (Where 'username' = & gt; new \ zend \ db \ Sql \ expression ("testUser ')" );    

Comments

Popular posts from this blog

Out of index C/C++ -

regex - PatternSyntaxException: while using String.ReplaceAll function in java? -

java - Projects which are accessed via multiple (different) IDEs: Ant or Maven? -