5 строки
Без EOL
284 Б
SQL
5 строки
Без EOL
284 Б
SQL
INSERT INTO timing_results (run_date, operation, dataset, library, iteration, microseconds)
|
|
VALUES (?,?,?,?,?,?)
|
|
ON CONFLICT(run_date, library, operation, dataset, iteration)
|
|
DO UPDATE SET microseconds = excluded.microseconds
|
|
WHERE excluded.microseconds < timing_results.microseconds; |