mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +00:00
4af9614115
Revision: [2068] Fixed typo in method names. Updated DboSource::conditions(). Added a delimiter --return that would be used in a complex condition string. NOTE: You limit your self to database specific code using this. Cake will not add the name() wrap around any of the Model.field. $this->Model->find('--return MY CUSTOM CONDITION STRING); Added ability to use a array key that will not have $this->value() called to wrap the $value. It is used like this (The word status will not have the value() called) Also note you can add Conditional selections used in the where clause: = Equal > Greater than < Less than >= Greater than or equal <= Less than or equal <> Not equal to LIKE can also use % with this $this->Model->find(array('Model.field' => '= value', 'Model.field' => '> value', 'Model.field' => '< value', 'Model.field' => '>= value', 'Model.field' => '<= value', 'Model.field' => '<> value', 'Model.field' => 'LIKE value', 'Model.field' => 'LIKE %value%', 'status', 'any key withou a => "value" wil not be wrapped')); git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2069 3807eeeb-6ff5-0310-8944-8be069107fe0 |
||
---|---|---|
.. | ||
datasource.php | ||
dbo_source.php |