Remove duplicate records with multi value fields
This commit is contained in:
@@ -198,6 +198,11 @@ func (s Store) {{ unexport "fetchFullPageOf" $.Types.Plural }} (
|
||||
} else {
|
||||
tryQuery = q
|
||||
}
|
||||
{{ if .RDBMS.CustomPreLoadProcessor }}
|
||||
if tryQuery, err = s.{{ unexport $.Types.Singular }}PreLoadProcessor(tryQuery); err != nil {
|
||||
return
|
||||
}
|
||||
{{- end}}
|
||||
|
||||
if limit > 0 {
|
||||
// fetching + 1 so we know if there are more items
|
||||
|
||||
@@ -86,6 +86,7 @@ type (
|
||||
CustomFilterConverter bool `yaml:"customFilterConverter"`
|
||||
CustomSortConverter bool `yaml:"customSortConverter"`
|
||||
CustomCursorCollector bool `yaml:"customCursorCollector"`
|
||||
CustomPreLoadProcessor bool `yaml:"customPreLoadProcessor"`
|
||||
CustomPostLoadProcessor bool `yaml:"customPostLoadProcessor"`
|
||||
CustomEncoder bool `yaml:"customEncoder"`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user