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

index 9debdf02a53cfb8512c1964f30d849197e0defb6..273c87690b45b6b61b2944f3e7cc7e6cdd94fef0 100644 (file)
@@ -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