From 42c714d88ceb710d9841692707ba51753b8057f7 Mon Sep 17 00:00:00 2001 From: Peter Sanchez Date: Thu, 9 Feb 2023 15:48:51 -0600 Subject: [PATCH] Adding Metadata map to database.FitlerOptions --- database/options.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/database/options.go b/database/options.go index eac2c28..981cca5 100644 --- a/database/options.go +++ b/database/options.go @@ -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 -- 2.45.2