úÎ ˆ ×  Derive  and   declarations for a data type. ESelect only certain fields in a document, see the code sample at the top. APlease note that there is no checking for the names to be actual Afields of the bson document mapped to a datatype, so be careful. /Get a document that identifies the data type -  getConsDoc ''Post. FThis is useful to select all documents mapped to a certain data type. 7Simple function to select fields in a nested document. EReturns a function that gets a datatype and a value, and generates a  P consisting of one field - the label provided - and the value of that datatype.  $(getField ' time) post will generate ["time" =: time post].        bson-mapping-0.1.2Data.Bson.MappingBsontoBsonfromBson deriveBson selectFields getConsDoc subDocumentgetLabelgetField bson-0.1.3 Data.BsonVal dataField consFieldDocument