grafana/pkg/services/sqlstore/migrator
Alexander Weaver ea8c5ce929
SQLStore: Create utility for bulk inserts (#57632)
* Add batchsize to dialects

* Some intermediary progress

* Reflection-based implementation

* Validate batch size

* Implement a few simple tests

* Fix linter error

* Add debug message when falling back to default batch size
2022-11-01 13:24:32 -05:00
..
column.go move database-specific code into dialects (#11884) 2018-05-10 16:54:21 +02:00
conditions.go Chore: Fix SQL related Go variable naming (#28887) 2020-11-11 06:21:08 +01:00
dialect.go SQLStore: Create utility for bulk inserts (#57632) 2022-11-01 13:24:32 -05:00
migrations.go SQLStore: Add deprecation comments for breaking migrations (#49740) 2022-06-03 17:42:08 +02:00
migrator.go Chore: Remove Wrapf (#50128) 2022-06-06 22:30:31 +02:00
mysql_dialect.go SQLStore: Create utility for bulk inserts (#57632) 2022-11-01 13:24:32 -05:00
postgres_dialect.go SQLStore: Create utility for bulk inserts (#57632) 2022-11-01 13:24:32 -05:00
sqlite_dialect.go SQLStore: Create utility for bulk inserts (#57632) 2022-11-01 13:24:32 -05:00
types.go Alerting: modify DB table, accessors and migration to restrict org access (#37414) 2021-08-12 16:04:09 +03:00
upsert_test.go Alerting: Write and Delete multiple alert instances. (#55350) 2022-10-06 14:22:58 +08:00