Language and development rules: Difference between revisions

Jump to navigation Jump to search
m
Tag: 2017 source edit
Tag: 2017 source edit
Line 373: Line 373:
</syntaxhighlight>
</syntaxhighlight>


There is no native SQL requests "UPDATE FROM" in all Dolibarr core so this difference of syntax is not a problem. But if you need to use one in your own code of your module, you should do :
There is no native SQL requests "UPDATE FROM" in all Dolibarr core (only simple "UPDATE") so this difference of syntax is not a problem. But if you need to use one in your own code of your module, you should do :
<syntaxhighlight lang="PHP">
<syntaxhighlight lang="PHP">
if ($this->db->type=='pgsql') {
if ($this->db->type=='pgsql') {

Navigation menu