soju/database
Calvin Lee d137c69131 database: batch msg inserts
This commit takes insert query compilation and transaction creation out
of the critical loop for migrating message logs. I have tested with
the sqlite backend, and a speedup of approximately 40x has been achieved
for log migration.
2023-10-25 16:03:00 +02:00
..
database.go database: batch msg inserts 2023-10-25 16:03:00 +02:00
postgres.go database: batch msg inserts 2023-10-25 16:03:00 +02:00
postgres_test.go Add support for explicit PostgreSQL schema prefixes for tests 2023-02-17 14:13:43 +01:00
sqlite.go database: batch msg inserts 2023-10-25 16:03:00 +02:00
sqlite_mattn.go Add a database store for messages 2023-02-17 14:13:43 +01:00
sqlite_modernc.go Add build tag for modernc/sqlite driver 2022-09-26 19:31:43 +02:00
sqlite_stub.go database/sqlite: make optional 2022-09-11 13:57:00 +02:00
sqlite_test.go Add build tag for modernc/sqlite driver 2022-09-26 19:31:43 +02:00