mirror of
https://github.com/pikami/cosmium.git
synced 2025-12-19 08:50:46 +00:00
Refactored query engine utilizing iterators
This commit is contained in:
@@ -196,6 +196,10 @@ func (r rowContext) parseArray(argument interface{}) []interface{} {
|
||||
ex := r.resolveSelectItem(exItem)
|
||||
|
||||
arrValue := reflect.ValueOf(ex)
|
||||
if arrValue.Kind() == reflect.Invalid {
|
||||
return nil
|
||||
}
|
||||
|
||||
if arrValue.Kind() != reflect.Slice {
|
||||
logger.ErrorLn("parseArray got parameters of wrong type")
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user