From fcdf89685f0a1fd775e1f5f3a9a947aa2aa445f0 Mon Sep 17 00:00:00 2001 From: Erik Dubbelboer Date: Fri, 30 Aug 2024 16:54:55 +0200 Subject: [PATCH] Bump mongodb-filter-to-postgres to v1.0.2 (#141) This will enable the new `$field` operator, which will allow you to filter lobbies like: ```json { "playerCount": { "$lt": { "$field": "maxPlayers" } } } ``` See: https://github.com/poki/mongodb-filter-to-postgres/pull/23 --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 90f3b88..fc75b85 100644 --- a/go.mod +++ b/go.mod @@ -8,7 +8,7 @@ require ( github.com/jackc/pgx/v5 v5.6.0 github.com/koenbollen/logging v0.0.0-20230520102501-e01d64214504 github.com/ory/dockertest/v3 v3.11.0 - github.com/poki/mongodb-filter-to-postgres v1.0.1 + github.com/poki/mongodb-filter-to-postgres v1.0.2 github.com/rs/cors v1.11.0 github.com/rs/xid v1.6.0 go.uber.org/zap v1.27.0 diff --git a/go.sum b/go.sum index aee9946..a299156 100644 --- a/go.sum +++ b/go.sum @@ -92,8 +92,8 @@ github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/poki/mongodb-filter-to-postgres v1.0.1 h1:7AHKdw2k0dydvhvOnbwlVuqxjdksYftkZve4Rn3TdKs= -github.com/poki/mongodb-filter-to-postgres v1.0.1/go.mod h1:AccQTAURp16s/pIp9pTuVqY64kyDJ5Dre4fNA1efO6A= +github.com/poki/mongodb-filter-to-postgres v1.0.2 h1:M/chLjplZv2RpdGE3CpFXNkjbSJkLPbbqNz+v7Q+7Cw= +github.com/poki/mongodb-filter-to-postgres v1.0.2/go.mod h1:AccQTAURp16s/pIp9pTuVqY64kyDJ5Dre4fNA1efO6A= github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M= github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA= github.com/rs/cors v1.11.0 h1:0B9GE/r9Bc2UxRMMtymBkHTenPkHDv0CW4Y98GBY+po=