mirror of
https://github.com/safing/portbase
synced 2026-05-01 21:21:23 +00:00
Add first part of query parser / Finish query building
This commit is contained in:
parent
6ed50f34fb
commit
115b18dfb6
17 changed files with 337 additions and 66 deletions
|
|
@ -84,3 +84,7 @@ func (c *intCondition) check() error {
|
|||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (c *intCondition) string() string {
|
||||
return fmt.Sprintf("%s %s %d", c.key, getOpName(c.operator), c.value)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue