good morning!!!!

Skip to content
Snippets Groups Projects
Commit 206f71a5 authored by José Carlos Nieto's avatar José Carlos Nieto
Browse files

MongoDB bugfix.

parent 10764832
No related branches found
No related tags found
No related merge requests found
...@@ -58,7 +58,7 @@ func (c *MongoDataSourceCollection) marshal(where db.Cond) map[string]interface{ ...@@ -58,7 +58,7 @@ func (c *MongoDataSourceCollection) marshal(where db.Cond) map[string]interface{
chunks := strings.Split(key, " ") chunks := strings.Split(key, " ")
if len(chunks) >= 2 { if len(chunks) >= 2 {
conds[chunks[0]] = map[string]interface{}{chunks[1]: val} conds[chunks[0]] = map[string]interface{}{chunks[1]: toInternal(val)}
} else { } else {
conds[key] = toInternal(val) conds[key] = toInternal(val)
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment