-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Optimization
-
None
-
None
-
None
-
None
-
None
-
None
-
None
getType should incorporate information from the field metadata:
- canFieldBeArray (removes array)
- knownToBeMissing (intersects missing)
- hasConstant (gives the type)
{$set: {a: 1}} -> type int (hasConstant)
{$project: {a: 0}} -> type missing (knownToBeMissing)