~netlandish/gobwebs

42c714d88ceb710d9841692707ba51753b8057f7 — Peter Sanchez 1 year, 9 months ago 7b1adcd
Adding Metadata map to database.FitlerOptions
1 files changed, 2 insertions(+), 0 deletions(-)

M database/options.go
M database/options.go => database/options.go +2 -0
@@ 8,6 8,8 @@ type FilterOptions struct {
	Limit   int
	Offset  int
	OrderBy string

	Metadata map[string]any // Used for misc. data passing
}

// GetBuilder returns a squirrel SelectBuilder based on options