7 lines
227 B
MySQL
7 lines
227 B
MySQL
|
INSERT INTO `{prefix}sessions`
|
||
|
(`uuid`, `server`, `serverNick`, `ip`, `date`, `playtime`) VALUES
|
||
|
(?, ?, ?, ?, ?, ?, ?, ?)
|
||
|
ON DUPLICATE KEY
|
||
|
UPDATE
|
||
|
`playtime` = `playtime` + VALUES(`playtime`),
|
||
|
`date` = VALUES(`date`);
|