-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
5
-
Iteration Dreadnoughtus
-
Not Needed
We'll use $bsonSize projection to get the document size and map it to a document card in the crud document list:
- We will only do this if there is no custom projection provided by the user
- We will add {doc: "$$ROOT", size: {$bsonSize: "$$ROOT"}} projection to the find call
- When receiving the document, map doc to the HadronDocument and store the bson size value as a symbol on the hadron doc
- The value can then be used to render the insight in the document list