RDBMS store query handler now accepts sqlizer

This commit is contained in:
Denis Arh
2020-09-01 21:28:45 +02:00
parent 16aa32cd4b
commit 8dc5315b75
26 changed files with 26 additions and 26 deletions
+1 -1
View File
@@ -242,7 +242,7 @@ func (s Store) {{ unexport "fetchFullPageOf" $.Types.Plural }} (
// for next page of results
func (s Store) {{ export "query" $.Types.Plural }} (
ctx context.Context{{ template "extraArgsDef" . }},
q squirrel.SelectBuilder,
q squirrel.Sqlizer,
check func(*{{ $.Types.GoType }}) (bool, error),
) ([]*{{ $.Types.GoType }}, uint, *{{ $.Types.GoType }}, error) {
var (