mirror of
https://github.com/safing/portmaster
synced 2025-09-15 09:19:48 +00:00
Add query and chart support with multiple fixes to ORM package
This commit is contained in:
parent
0d2ec9df75
commit
25aceaf103
11 changed files with 535 additions and 117 deletions
|
@ -228,7 +228,7 @@ func Test_QueryBuilder(t *testing.T) {
|
|||
for idx, c := range cases {
|
||||
t.Run(c.N, func(t *testing.T) {
|
||||
//t.Parallel()
|
||||
str, params, err := c.Q.toSQLWhereClause(context.TODO(), tbl, orm.DefaultEncodeConfig)
|
||||
str, params, err := c.Q.toSQLWhereClause(context.TODO(), "", tbl, orm.DefaultEncodeConfig)
|
||||
|
||||
if c.E != nil {
|
||||
if assert.Error(t, err) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue