User service: move to db (#146)

This commit is contained in:
Janos Dobronszki
2021-06-15 10:38:04 +01:00
committed by GitHub
parent e4be18434c
commit 8b8d6c1a95
21 changed files with 427 additions and 2212 deletions

View File

@@ -92,6 +92,16 @@ func TestParsing(t *testing.T) {
},
},
},
tCase{
Q: `id == '795c1e56-d1f3-495d-b9cb-d84a56ffb39c'`,
E: []Query{
Query{
Field: "id",
Value: "795c1e56-d1f3-495d-b9cb-d84a56ffb39c",
Op: itemEquals,
},
},
},
tCase{
Q: `a == 12 and name != 'nandos'`,
E: []Query{