]> git.mxchange.org Git - friendica.git/commitdiff
Update src/Database/Database.php
authorMichael Vogel <icarus@dabo.de>
Wed, 26 Aug 2020 20:45:00 +0000 (22:45 +0200)
committerGitHub <noreply@github.com>
Wed, 26 Aug 2020 20:45:00 +0000 (22:45 +0200)
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
src/Database/Database.php

index 609b86d0e5dae85c3a8f7ef316ac150da8e6dbe4..d155a9276c711e681576a35340483ee214ba0f1b 100644 (file)
@@ -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