mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 09:05:55 +00:00
Merge branch 'master' into constrow
This commit is contained in:
commit
a19ca16810
1 changed files with 5 additions and 2 deletions
|
|
@ -2641,8 +2641,11 @@ func (e *executor) executeRowsShard(ctx context.Context, tx Tx, index string, fi
|
|||
// in order to represent `Rows` for the field.
|
||||
var views = []string{viewStandard}
|
||||
|
||||
// Handle `time` fields.
|
||||
if f.Type() == FieldTypeTime {
|
||||
// Handle `int` and `time` fields.
|
||||
switch f.Type() {
|
||||
case FieldTypeInt:
|
||||
return nil, errors.New("int fields not supported by Rows() query")
|
||||
case FieldTypeTime:
|
||||
var err error
|
||||
|
||||
// Parse "from" time, if set.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue