9 lines
316 B
SQL
9 lines
316 B
SQL
INSERT INTO `{prefix}sessions`
|
|
(`uuid`, `serverNick`, `ip`, `date`, `kills`, `deaths`, `playtime`) VALUES
|
|
(?, ?, ?, ?, ?, ?, ?)
|
|
ON DUPLICATE KEY
|
|
UPDATE
|
|
`kills` = `kills` + VALUES(`kills`),
|
|
`deaths` = `deaths` + VALUES(`deaths`),
|
|
`playtime` = `playtime` + VALUES(`playtime`),
|
|
`date` = VALUES(`date`); |