File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
lib/internal/Magento/Framework/DB/Adapter Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -495,6 +495,13 @@ public function insertForce($table, array $bind);
495
495
/**
496
496
* Updates table rows with specified data based on a WHERE clause.
497
497
*
498
+ * The $where parameter in this instance can be a single WHERE clause or an array containing a multiple. In all
499
+ * instances, a WHERE clause can be a string or an instance of {@see Zend_Db_Expr}. In the event you use an array,
500
+ * you may specify the clause as the key and a value to be bound to it as the value. E.g., ['amt > ?' => $amt]
501
+ *
502
+ * If the $where parameter is an array of multiple clauses, they will be joined by AND, with each clause wrapped in
503
+ * parenthesis. If you wish to use an OR, you must give a single clause that is an instance of {@see Zend_Db_Expr}
504
+ *
498
505
* @param mixed $table The table to update.
499
506
* @param array $bind Column-value pairs.
500
507
* @param mixed $where UPDATE WHERE clause(s).
You can’t perform that action at this time.
0 commit comments