Merge pull request #773 from travisturner/row-pointer

return *Row instead of Row on empty key result
This commit is contained in:
Travis Turner 2020-09-01 18:31:29 -05:00 committed by GitHub
commit 72c068a64f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -90,7 +90,7 @@ func emptyResult(c *pql.Call) interface{} {
return false
case "Row":
return Row{Keys: []string{}}
return &Row{Keys: []string{}}
case "Rows":
return RowIdentifiers{Keys: []string{}}