From: Michael Vogel Date: Wed, 26 Aug 2020 20:45:00 +0000 (+0200) Subject: Update src/Database/Database.php X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e71545800544514a92df0d9b468e4c3119fd2155;p=friendica.git Update src/Database/Database.php Co-authored-by: Hypolite Petovan --- 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