2
0

Fix range types not clearing unbounded or empty

This commit is contained in:
Jack Christensen
2022-02-08 16:48:17 -06:00
parent 0306ce3a19
commit f861d83a17
4 changed files with 102 additions and 1 deletions
+2 -1
View File
@@ -29,7 +29,8 @@ type RangeScanner interface {
ScanBounds() (lowerTarget, upperTarget interface{})
// SetBoundTypes sets the lower and upper bound types. ScanBounds will be called and the returned values scanned
// (if appropriate) before SetBoundTypes is called.
// (if appropriate) before SetBoundTypes is called. If the bound types are unbounded or empty this method must
// also set the bound values.
SetBoundTypes(lower, upper BoundType) error
}