sqlcmig6: add CustomQueries to Queries

In order to be able to use the custom queries with the
`sqlcmig6.Queries`, we assert at compile time that `sqlcmig6.Queries`
implements the `CustomQueries` interface.
This commit is contained in:
Viktor Torstensson 2025-08-27 15:29:55 +02:00
parent 46449aa835
commit 9442c58cc1
No known key found for this signature in database
GPG key ID: 961CC8259AE675D4

View file

@ -46,3 +46,5 @@ type CustomQueries interface {
// Backend returns the type of the database backend used.
Backend() sqldb.BackendType
}
var _ CustomQueries = (*Queries)(nil)