-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Aggregation Framework
-
Labels:None
-
Query Optimization
Currently $split takes a single 'xxx' string and splits a string wherever this string appears.
It would be nice if it could accept a list of strings to split on. So
input: {s:"abc/xyz=999-123"} {split:["$s",['/','=','-']]} output: [ "abc", "xyz", "999", "123" ]