Add templating system to account for differences in PSQL syntax

This commit is contained in:
Jason Penilla authored and Jason committed 2023-09-16 13:47:33 -07:00
1 parent e065d78f2e
commit 5eb10014fa
5 files changed
+72 -24

No files matched your search

@@ -1 +1 @@
INSERT IGNORE INTO carbon_ignores (id, ignoredplayer) VALUES(:id, :ignoredplayer)
INSERT{!PSQL: IGNORE} INTO carbon_ignores (id, ignoredplayer) VALUES(:id, :ignoredplayer){PSQL: ON CONFLICT DO NOTHING};