PHP-MySQLi-Database-Class
PHP-MySQLi-Database-Class copied to clipboard
On duplicate key update
Hello, how can use "on duplicate key update" with this class?
just use rawQuery
When I use rawQuery, I don't get result when "ON DUPLICATE KEY UPDATE ", and don't know work query or not. How I can get result ?
you can use getInsertId() to check if insert success
wingoo Thanks! Now it work.