1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-29 01:00:07 +02:00

PostgreSQL import support

This commit is contained in:
Jakub Vrana
2010-07-22 14:04:57 +02:00
parent a7cdc85497
commit c505440194
4 changed files with 26 additions and 3 deletions

View File

@@ -767,9 +767,10 @@ if (!defined("DRIVER")) {
/** Insert or update data in the table
* @param string
* @param array
* @param array
* @return bool
*/
function insert_update($table, $set) {
function insert_update($table, $set, $indexes) {
foreach ($set as $key => $val) {
$set[$key] = "$key = $val";
}