From bc98f86afea9d7218a94e1f450e4e88477af20cb Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Wed, 26 Aug 2020 22:44:51 +0200 Subject: [PATCH] Update src/Database/DBA.php Co-authored-by: Hypolite Petovan --- src/Database/DBA.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Database/DBA.php b/src/Database/DBA.php index 9debdf02a5..273c87690b 100644 --- a/src/Database/DBA.php +++ b/src/Database/DBA.php @@ -293,7 +293,8 @@ class DBA } /** - * Replace a row of a table + * Inserts a row with the provided data in the provided table. + * If the data corresponds to an existing row through a UNIQUE or PRIMARY index constraints, it updates the row instead. * * @param string|array $table Table name or array [schema => table] * @param array $param parameter array -- 2.39.5