Skip to content

Commit

Permalink
Update db.md
Browse files Browse the repository at this point in the history
ON_DUPLICATE_KEY is also available for inserts.
  • Loading branch information
Prestaworks authored Oct 30, 2023
1 parent 80ef7ff commit 04e5855
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion development/components/database/db.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ The result is a boolean whose state indicates if the request was properly execut
: If false, PrestaShop's cache management is disabled during this query. Do not change this parameter unless you knew exactly what you are doing.

`$type`
: If you wish to change the insertion, this parameter can take the following constants: `Db::INSERT`, `Db::INSERT_IGNORE` or `Db::REPLACE`.
: If you wish to change the insertion, this parameter can take the following constants: `Db::INSERT`, `Db::INSERT_IGNORE`, `Db::REPLACE` or `Db::ON_DUPLICATE_KEY`.

`$add_prefix`
: If false, table prefix will not be automatically added to the table name.
Expand Down

0 comments on commit 04e5855

Please sign in to comment.