Issue 33: Finished most aspects of the expression language (#38)
- Most aspects of scans and queries can now be represented using the expression language - All constructs of the expression language can be used to evaluate items
This commit is contained in:
parent
7d2817812c
commit
917663fac0
24 changed files with 1815 additions and 370 deletions
|
|
@ -64,7 +64,10 @@ func (s *Service) doScan(ctx context.Context, tableInfo *models.TableInfo, expr
|
|||
}
|
||||
|
||||
if err != nil && len(results) == 0 {
|
||||
return nil, errors.Wrapf(err, "unable to scan table %v", tableInfo.Name)
|
||||
return &models.ResultSet{
|
||||
TableInfo: tableInfo,
|
||||
Query: expr,
|
||||
}, errors.Wrapf(err, "unable to scan table %v", tableInfo.Name)
|
||||
}
|
||||
|
||||
models.Sort(results, tableInfo)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue