From e71545800544514a92df0d9b468e4c3119fd2155 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Wed, 26 Aug 2020 22:45:00 +0200 Subject: [PATCH] Update src/Database/Database.php Co-authored-by: Hypolite Petovan --- src/Database/Database.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Database/Database.php b/src/Database/Database.php index 609b86d0e5..d155a9276c 100644 --- a/src/Database/Database.php +++ b/src/Database/Database.php @@ -1007,7 +1007,8 @@ class Database } /** - * 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