617      !"#$%&'()*+,-./0123456 TrustworthyType corresponding to the "_id" field of a document in a  structured object. ?Structured class used to convert between a Haskell record type  and BSON document. The "_id" field is unset.  Check if the "_id" field is unset. Get the "_id"! field (assumes that it is set0. Set the "_id" field. %Collection name is then name of type  Convert record to a BSON object Convert BSON object to record      Trustworthy+ A query expression. 'Class defining a selectable type. Type a corresponds to the  record type, f( corresponds to the field or facet, and t  corresponds to the field/ facet type. (Given facet, return the BSON field name  Analog to mongoDB's Select class /Create a selection or query from an expression  Wrapper for mongoDB's Query type. #Number of matching objects to skip  (default: 0). $Maximum number of objects to return  (default: 0, no limit). Sortresult by this order.  Wrapper for mongoDB's  Selection type.  Wrapper for mongoDB's Cursor. <Inserts document to its corresponding collection and return  the "_id" value. Same as  but discarding result. ?Inserts documents to their corresponding collection and return  their "_id" values. Same as  but discarding result. ?Inserts documents to their corresponding collection and return  their "_id" values. Unlike , this function keeps 8 inserting remaining documents even if an error occurs. Same as  but discarding result. $Save document to collection. If the  field is set then : the document is updated, otherwise we perform an insert. -Delete all documents that match the selection/query. 3Delete the first documents that match the selection/query.  Find documents satisfying query  Find documents satisfying query !Same as   but throws 7 if none match. ",Count number of documents satisfying query. #+Return next batch of structured documents. $2Return next structured document. If failed return 8,  otherwise 9 of the deserialized result. %Return up to next N documents. &0Return the remaining documents in query result. 'Close the cursor. (Check if the cursor is closed. )&Combining two field names to create a : type. *Combinator for == +Combinator for == ,Combinator for $ne -Combinator for < .Combinator for <= /Combinator for > 0Combinator for >= 1Combinator for $and 2Combinator for $or 3Combinator for $not 4Sort by field, ascending 5Sort by field, descending .  !"#$%&'()*+,-./012345;<=G>?@ABCDEFGHIJ7KLMNOPQRSTUVW  !"#$%&'()*+,-./012345/45 !" ) *+,-./0123'(#$%&)   !"#$%&'()*+,-./012345;<= TrustworthymXYZ[\]^_`abcdefghij>?@ABCDEFGHIJ7KLMNOPQRSTUkVWlmnopqrs  !"#$%&'()*+,-./012345None6This function generates  and Val instances for  record types. 6666t      !"#$%&'()*+,-./0123456789:;<=>?@AB@ACDEFG=>H=>I=>J=>K=>L=>M=>N=>O=>P=>Q=>R=>S=>T=>U=>V=>W=>X=>Y=>Z=>[=>\=>]=>^=>_=`a=`b=cd=ce=cf=cg=ch=ci=cj=ck=cl=cm=cn=co=cp=cq=cr=cr=cs=ct=cu=`v=wx=yz=y{=y|}~}~}~}~structured-mongoDB-0.2!Database.MongoDB.Structured.Query!Database.MongoDB.Structured.Types'Database.MongoDB.Structured.Deriving.THDatabase.MongoDB.Structured bson-0.1.7 Data.BsonValueSObjId Structured collectiontoBSONfromBSONnoSObjId isNoSObjIdunSObjIdtoSObjIdQueryExp SelectablesStructuredSelectselectStructuredQueryskiplimitsortStructuredSelectionStructuredCursorinsertinsert_ insertMany insertMany_ insertAll insertAll_savedelete deleteOnefindfindOnefetchcount nextBatchnextnextNrest closeCursorisCursorClosed.!.*.==./=.<.<=.>.>=.&&.||not_ascdescderiveStructured mongoDB-1.2.0Database.MongoDB.Query DocNotFoundbase Data.EitherLeftRightNested$fSelectablerNestedt'!$fStructuredSelectStructuredQuery%$fStructuredSelectStructuredSelectionauthuseDb thisDatabase allDatabases accessModeslaveOkmasteraccessActionConnectionFailureCursorNotFoundFailure QueryFailure WriteFailureFailure ErrorCode ReadStaleOkUnconfirmedWrites ConfirmWrites AccessMode GetLastErrorliftDB BaseMonadMonadDBDatabase"Database.MongoDB.Internal.ProtocolUsernamePasswordDatabase.MongoDB.Connection secondaryOkprimarycloseReplicaSetopenReplicaSet'openReplicaSet replSetNameconnect'connectglobalConnectTimeout readHostPort readHostPortM showHostPorthost defaultPortHostSecsReplicaSetName ReplicaSetPipeDatabase.MongoDB.Internal.UtilrunIOESystem.IO.PipelineisClosedcloseIOEnetwork-2.3.0.11NetworkPortID UnixSocket PortNumberService