Add first part of query parser / Finish query building

This commit is contained in:
Daniel 2018-08-30 19:03:45 +02:00
parent 6ed50f34fb
commit 115b18dfb6
17 changed files with 337 additions and 66 deletions

View file

@ -88,3 +88,7 @@ func (c *floatCondition) check() error {
}
return nil
}
func (c *floatCondition) string() string {
return fmt.Sprintf("%s %s %f", c.key, getOpName(c.operator), c.value)
}