return *Row instead of Row on empty key result

This commit is contained in:
Travis 2020-09-01 17:34:29 -05:00
parent 58007ab7ef
commit d02cb10687
No known key found for this signature in database
GPG key ID: 37080CC2042BA34E

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{}}