How to add LIMIT 1update offer when using Zend Framework?
LIMIT 1
I, as it were, are forced to not use Zend_Db_Table_Abstract::update(), because it performs itself unlike sweet Zend_Db_Select-classes.
Zend_Db_Table_Abstract::update()
Zend_Db_Select
The reason for this is just a precaution, and I think the Zend_Db_Table_Abstract::update()syntax makes more sense if it is found in the code than more allround Zend_Db_Adapter_Abstract::query().
Zend_Db_Adapter_Abstract::query()
You can not.
There is a problem created for this exact problem in tracking problems . But this function is still not implemented.
??? ,
UPDATE <table> SET field=<newvalue>, ... WHERE key = <keyvalue>;
.
Source: https://habr.com/ru/post/1723105/More articles:Code Development ASIHTTPRequest - oopWhen to add classes, when to add selectors? - htmlТест "Пользователь должен изменить пароль" в поле .Net 3.5 - c#Pass the Boolean Ada type in the interfaces. C - c ++MySQL query caching - phpEasiest way to open chm program files? - windows-7-x64Sql COUNT Performance Question - sqlGetting jQuery autocomplete field - jqueryHow to implement a calm web service using python / django - pythonPrevent onbeforeunload from calling by clicking on the mailto - mailtoAll Articles