Update src/Database/Database.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
Michael Vogel
2020-08-26 22:45:00 +02:00
committed by GitHub
parent bc98f86afe
commit e715458005

View 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