k      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~None%&09:;<=CDIORST%Mark the subset of ss that can be searched by a mongoDB regex Anything stored as PersistText or an array of PersistText would be validA MongoRegex represents a Regular expression. It is a tuple of the expression and the options for the regular expression, respectively Options are listed here:  >http://docs.mongodb.org/manual/reference/operator/query/regex/F If you use the same options you may want to define a helper such as r t = (t, "ims")3Information required to connect to a mongo database!YAML fields for this are rsName and  rsSecondaries% mgHost is assumed to be the primary)Convert a Text to a Key.A pool of plain MongoDB pipes. The database parameter has not yet been applied yet. This is useful for switching between databases (on the same host and port) Unlike the normal pool, no authentication is available1run a pool created with .3 use default  AccessMode5,convert a unique key into a MongoDB document6{convert a PersistEntity into document fields. for inserts only: nulls are ignored so they will be unset in the document. : includes nulls96convert a PersistEntity into document fields. unlike 6, nulls are included.\It would make more sense to call this _id, but GHC treats leading underscore in special waysunlike many SQL databases, MongoDB makes no guarantee of the ordering of the fields returned in the document. Ordering might be maintained if persistent were the only user of the db, but other tools may be using MongoDB.Persistent creates a Haskell record from a list of PersistValue But most importantly it puts all PersistValues in the proper orderH7docker integration: change the host to the mongodb linkI"Filter using a Regular expression.JlPoint to an array field with an embedded object and give a deeper query into the embedded object. Use with P.KPoint to an array field with an embedded object and give a deeper query into the embedded object. This level of nesting is not the final level. Use J or L to point to the final level.LMPoint to a nested field to query. This field is not an array type. Use with P.MSame as L , but Works against a Maybe typeNwPoint to a nested field to query. This field is not an array type. This level of nesting is not the final level. Use J or &>. to point to the final level.OSame as N , but works against a Maybe typeP$The normal Persistent equality test V is not generic enough. Instead use this with the drill-down arrow operaters such as JTusing this as the only query filter is similar to the following in the mongoDB shell *db.Collection.find({"object.field": item})Q$The normal Persistent equality test V is not generic enough. Instead use this with the drill-down arrow operaters such as JTusing this as the only query filter is similar to the following in the mongoDB shell *db.Collection.find({"object.field": item})R$The normal Persistent equality test V is not generic enough. Instead use this with the drill-down arrow operaters such as JTusing this as the only query filter is similar to the following in the mongoDB shell *db.Collection.find({"object.field": item})S$The normal Persistent equality test V is not generic enough. Instead use this with the drill-down arrow operaters such as JTusing this as the only query filter is similar to the following in the mongoDB shell *db.Collection.find({"object.field": item})T$The normal Persistent equality test V is not generic enough. Instead use this with the drill-down arrow operaters such as JTusing this as the only query filter is similar to the following in the mongoDB shell *db.Collection.find({"object.field": item})U$The normal Persistent equality test V is not generic enough. Instead use this with the drill-down arrow operaters such as JTusing this as the only query filter is similar to the following in the mongoDB shell *db.Collection.find({"object.field": item})Vsame as P, but give a BSON ValueWSLike '(==.)' but for an embedded list. Checks to see if the list contains an item.yIn Haskell we need different equality functions for embedded fields that are lists or non-lists to keep things type-safe.Tusing this as the only query filter is similar to the following in the mongoDB shell +db.Collection.find({arrayField: arrayItem})XZLike nestEq, but for an embedded list. Checks to see if the nested list contains an item.Zsame as W, but give a BSON Valuebequivalent to $each eachOp push field [] eachOp pull will get translated to $pullAlldFIntersection of lists: if any value in the field is found in the list.eHNo intersection of lists: if no value in the field is found in the list.sYolder versions versions of haddock (like that on hackage) do not show that this defines CBackendKey DB.MongoContext = MongoKey { unMongoKey :: DB.ObjectId }uIt would make sense to define the instance for ObjectId and then use newtype deriving however, that would create an orphan instancey1ToPathPiece is used to convert a key to/from text !"#$%&'()*+,pool size (number of stripes).stripe size (number of connections per stripe)-time a connection is left idle before closing-pool size (number of stripes).stripe size (number of connections per stripe)-time a connection is left idle before closing.pool size (number of stripes).stripe size (number of connections per stripe)-time a connection is left idle before closing/0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~       !"#$%&' ()*+,-. /0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdef8>?:9;674<5JKMOLNPQRSTUWXVZYdeI[\]^_`cab A@'*)(=+/,0-23%&"# !GBCDFEH$.1    !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~I4J6K5L6M6N5O5P4Q4R4S4T4U4V4W4X4Y4Z4[4_4`4a4c4d4e4      !""#$%&'()*+,,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~/                 !"#$%&'()*+,-./012324252627289:;<=>?@ABCDEFGHIHJHKHLHMHNHOHPHQHRHSHTHUHVHWHXHYHZH[H\H]H^H_H`HaHaHbHcHdHeHfHgHhHiHjHkHlHlHmHnHoHpHqHrHsHsHtHuvwxyyz{z|z}z~zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzkzzzzzzzzzzzz`-persistent-mongoDB-2.5-EfA3OIy9CRMF71zQJTYN03Database.Persist.MongoDB#bson-0.3.2.3-11KDzNoHAdu5iiuGBuhYux Data.Bson=:ObjectId&mongoDB-2.1.1.1-F0crCCjM4Au55WCmso4xTYDatabase.MongoDB.QueryslaveOkmasterAction ConfirmWritesUnconfirmedWrites ReadStaleOk AccessMode MongoContextDatabase&network-2.6.3.1-G4Up1CPKbp7DeFsnywOnGGNetworkPortIDNetwork.SocketHostName%persistent-2.6-CbTUNewCsyHErEueCXNEfc#Database.Persist.Class.PersistStore BackendKeyMongoRegexSearchable MongoRegex NestedField LastEmbFld MidEmbFld MidNestFldsMidNestFldsNullable LastNestFldLastNestFldNullable MongoConf mgDatabasemgHostmgPortmgAuth mgAccessMode mgPoolStripesmgStripeConnectionsmgConnectionIdleTimemgReplicaSetConfig MongoAuthPipePoolConnectionPool ConnectionrecordTypeFromKey keyToTextreadMayMongoKeyreadMayObjectIdwithConnectionwithMongoDBConncreateMongoDBPoolcreateMongoDBPipePool withMongoPoolwithMongoDBPoolrunMongoDBPipePoolrunMongoDBPoolrunMongoDBPoolDef updatesToDoc toUniquesDoc toInsertDocentityToInsertDoccollectionNamerecordToDocumententityToDocumentdocumentFromEntity filtersToDoc fieldNamedocToEntityEitherdocToEntityThrowoidToKeykeyToOid defaultHostdefaultAccessModedefaultPoolStripesdefaultStripeConnectionsdefaultConnectionIdleTimedefaultMongoConfapplyDockerEnv=~.->.~>.&->.?&->.&~>.?&~>.nestEqnestNenestGenestLenestIn nestNotIn nestBsonEqanyEq nestAnyEq multiBsonEq anyBsonEqnestSetnestIncnestDecnestMulpushpulladdToSeteachOppullAllinListninList$fMongoRegexSearchable[]$fMongoRegexSearchableMaybe$fMongoRegexSearchableText$fPersistConfigMongoConf$fFromJSONMongoConf$fSerializeObjectId$fValPersistValue$fPersistQueryReadMongoContext$fPersistQueryWriteMongoContext $fPersistUniqueWriteMongoContext$fPersistUniqueReadMongoContext$fPersistStoreReadMongoContext$fPersistStoreWriteMongoContext$fPersistCoreMongoContext$fFromJSONBackendKey$fToJSONBackendKey$fPersistFieldSqlBackendKey$fPersistFieldSqlObjectId$fPersistFieldObjectId$fPathPieceBackendKey$fFromHttpApiDataBackendKey$fToHttpApiDataBackendKey$fFromJSONNoOrphanPortID!$fFromJSONNoOrphanNominalDiffTime$fHasPersistBackendMongoContext$fShowBackendKey$fReadBackendKey$fEqBackendKey$fOrdBackendKey$fPersistFieldBackendKey$fShowNoOrphanNominalDiffTime$fEqNoOrphanNominalDiffTime$fNumNoOrphanNominalDiffTime$fShowNoOrphanPortID$fEqNoOrphanPortID$fShowMultiFilter$fShowMongoAuth$fShowReplicaSetConfig$fShowMongoConf$fShowMongoUpdateOperator$fShowMongoUpdateOperation$fShowUpdateValueOp#Database.Persist.Class.PersistField PersistFieldid_orderPersistValuesDatabase.Persist==. MongoUpdate NestedUpdate ArrayUpdate MongoFilter NestedFilter ArrayFilterNestedArrayFilter RegExpFilterMongoUpdateOperator MongoPush MongoPull MongoAddToSetMongoUpdateOperation MongoEach MongoSimple UpdateValueOpMongoFilterOperatorPersistFilterOperatorReplicaSetConfig MultiFilterOrDollar AndDollarNoOrphanPortIDNoOrphanNominalDiffTimeMongoKey unMongoKey createPipecreateReplicatSet createRsPool testAccesscreateConnectioncreateMongoPool queryByKey selectByKey updateToBsonupdateToMongoFieldzipToDoc fieldToLabel keyFrom_idEx keyFrom_id keyToMongoDocentityDefFromKeycollectionNameFromKeyprojectionFromEntityDefprojectionFromKeyprojectionFromRecord orderClause makeQueryfilterToDocument toMultiOp multiFilter existsDollarorDollar andDollar filterToBSONmongoFilterToBSONmongoUpdateToBsonmongoUpdateToDocmongoFilterToDocnestedFieldNametoValuefromPersistValuesThrowmapLefteitherFromPersistValuesassocListFromDocoidToPersistValuepersistObjectIdToDbOidcastdummyFromUniquedummyFromFiltsopToTextnestedFilterOpbackendArrayOperationnestedUpdateOpD:R:BackendKeyMongoContext0limitOffsetOrder toJsonText mapToJSON listToJSON||./<-.<-.>=.>.<=.<.!=./=.*=.-=.+=.=.Database.Persist.Class PersistUnique PersistQuery PersistStore$Database.Persist.Class.DeleteCascadedeleteCascadeWhere DeleteCascade deleteCascade$Database.Persist.Class.PersistConfig PersistConfigPersistConfigBackendPersistConfigPool loadConfigapplyEnvcreatePoolConfigrunPool$Database.Persist.Class.PersistUnique checkUnique replaceUnique getByValue onlyUniqueinsertByPersistUniqueReadgetByPersistUniqueWritedeleteByupsert insertUniqueupsertBy#Database.Persist.Class.PersistQueryselectKeysList selectList selectKeys selectSourcePersistQueryReadcountselectSourceRes selectFirst selectKeysResPersistQueryWrite updateWhere deleteWhere insertEntity belongsToJust belongsTogetJust liftPersistHasPersistBackend BaseBackendpersistBackendIsPersistBackendPersistRecordBackend ToBackendKey toBackendKeyfromBackendKey(Database.Persist.Sql.Orphan.PersistStoreSqlWriteBackendKeySqlReadBackendKey SqlBackendKeyunSqlWriteBackendKeyunSqlReadBackendKeyunSqlBackendKey PersistCorePersistStoreReadgetPersistStoreWritedeleteinsertupdateinsert_ insertMany insertMany_replacerepsertinsertEntityMany insertKey updateGet$Database.Persist.Class.PersistEntityfromPersistValueJSONtoPersistValueJSONentityIdFromJSONentityIdToJSONkeyValueEntityFromJSONkeyValueEntityToJSON entityValues PersistEntityUniqueKeyPersistEntityBackend EntityField keyToValues keyFromValuespersistIdField entityDefpersistFieldDeftoPersistFieldsfromPersistValuespersistUniqueKeyspersistUniqueToFieldNamespersistUniqueToValues fieldLensBackendSpecificUpdateUpdate BackendUpdate updateField updateValue updateUpdate SelectOptAscDescOffsetByLimitToBackendSpecificFilterFilter FilterAndFilterOr BackendFilter filterField filterValue filterFilterEntity entityKey entityVal getPersistMaptoPersistValuefromPersistValueSomePersistFieldDatabase.Persist.Types.BasefromPersistValueTexttoEmbedEntityDefkeyAndEntityFieldsentityKeyFields entityPrimary CheckmarkActiveInactive IsNullableNullable NotNullable WhyNullable ByMaybeAttrByNullableAttr EntityDef entityHaskellentityDBentityId entityAttrs entityFields entityUniquesentityForeigns entityDerives entityExtra entitySum ExtraLine HaskellName unHaskellNameDBNameunDBNameAttr FieldType FTTypeConFTAppFTListFieldDef fieldHaskellfieldDB fieldType fieldSqlType fieldAttrs fieldStrictfieldReference ReferenceDef NoReference ForeignRefEmbedRef CompositeRef SelfReferenceEmbedEntityDefembeddedHaskellembeddedFields EmbedFieldDef emFieldDB emFieldEmbed emFieldCycle UniqueDef uniqueHaskell uniqueDBName uniqueFields uniqueAttrs CompositeDefcompositeFieldscompositeAttrsForeignFieldDef ForeignDefforeignRefTableHaskellforeignRefTableDBNameforeignConstraintNameHaskellforeignConstraintNameDBName foreignFields foreignAttrsforeignNullablePersistException PersistErrorPersistMarshalErrorPersistInvalidFieldPersistForeignConstraintUnmetPersistMongoDBErrorPersistMongoDBUnsupported PersistValue PersistTextPersistByteString PersistInt64 PersistDoublePersistRational PersistBool PersistDayPersistTimeOfDayPersistUTCTime PersistNull PersistList PersistMapPersistObjectIdPersistDbSpecificSqlType SqlStringSqlInt32SqlInt64SqlReal SqlNumericSqlBoolSqlDaySqlTime SqlDayTimeSqlBlobSqlOther PersistFilterEqNeGtLtGeLeInNotInUpdateException KeyNotFound UpsertErrorOnlyUniqueException PersistUpdateAssignAddSubtractMultiplyDivide