h$ b     None -?W yesod-persistent Since 1.2.0yesod-persistentThis function differs from  in that it returns a database runner function, as opposed to simply running a single action. This will usually mean that a connection is taken from a pool and then reused for each invocation. This can be useful for creating streaming responses; see  .It additionally returns a cleanup function to free the connection. If your code finishes successfully, you must call this cleanup to indicate changes should be committed. Otherwise, for SQL backends at least, a rollback will be used instead. Since 1.2.0yesod-persistentAllows you to execute database actions within Yesod Handlers. For databases that support it, code inside the action will run as an atomic transaction. Example Usage userId <- runDB $ do userId <- insert $ User "username" "email@example.com" insert_ $ UserPreferences userId True pure userId yesod-persistentHelper for creating . Since 1.2.0 yesod-persistentHelper for implementing . Since 1.2.0 yesod-persistentLike , but transforms a Source. See  % for an example, practical use case. Since 1.2.0 yesod-persistentExtends . to create a streaming database response body. yesod-persistentGet the given entity by ID, or return a 404 not found if it doesn't exist.yesod-persistentGet the given entity by unique key, or return a 404 not found if it doesn't exist.yesod-persistentCreate a new record in the database, returning an automatically created key, or raise a 400 bad request if a uniqueness constraint is violated.yesod-persistentSame as , but doesn@t return a key.     None !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyxz{|}~       !"#$%&'()*+,-./01234566789:9;9<9=9>9?9@9A9B9C9D9E9F9G9H9I9J9KLMLNLOPQPRPSTUTVTWTXTYTZT[T\T]T^T_T`Tabcbdbebfbgbhbibjbkblbmbnbobpbqbrbsbtbubvbwxyxzx{x|x}x~xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yesod-persistent-1.6.0.6-HWqIENdXRQTFL1bP4cDRo5Yesod.Persist.Core Yesod.PersistDBRunner runDBRunnerYesodPersistRunner getDBRunner YesodPersistYesodPersistBackendrunDBYesodDB defaultRunDBdefaultGetDBRunner runDBSourcerespondSourceDBget404getBy404 insert400 insert400_*yesod-core-1.6.18.8-76xqSCeRiiH4ByeATp640sYesod.Core.Handler respondSource*persistent-2.12.0.1-AyO2oxwdWyN7UfeRm3Gr5IDatabase.Persist.TH mkMigratederivePersistFieldJSONderivePersistFieldmkEntityDefListmkDeleteCascademkSavesharepersistFieldFromEntity fieldError pkNewtypelensPTH sqlSettingsmkPersistSettings mkPersistparseReferencesembedEntityDefspersistManyFileWithpersistFileWithpersistLowerCasepersistUpperCase persistWithMkPersistSettingsmpsDeriveInstancesmpsGenerateLenses mpsEntityJSONmpsConstraintLabelModifiermpsFieldLabelModifiermpsPrefixFields mpsBackend mpsGeneric EntityJSON entityToJSONentityFromJSONDatabase.PersistlimitOffsetOrder toJsonText mapToJSON listToJSON||./<-.<-.>=.>.<=.<.!=.==./=.*=.-=.+=.=.Database.Persist.Class PersistUnique PersistQuery PersistStore$Database.Persist.Class.DeleteCascadedeleteCascadeWhere DeleteCascade deleteCascade#Database.Persist.Class.PersistQueryselectKeysList selectList selectKeys selectSourcePersistQueryReadexists selectKeysRes selectFirstcountselectSourceResPersistQueryWrite updateWhere deleteWhere$Database.Persist.Class.PersistUniquecheckUniqueUpdateable checkUnique replaceUnique getByValue onlyUniqueinsertUniqueEntityinsertByPersistUniqueReadgetByPersistUniqueWriteputManyupsertByupsertdeleteBy insertUniqueOnlyOneUniqueKey onlyUniquePNoUniqueKeysErrorMultipleUniqueKeysErrorAtLeastOneUniqueKeyrequireUniquesP#Database.Persist.Class.PersistStore insertRecord getEntity insertEntity belongsToJust belongsTo getJustEntitygetJust liftPersistwithCompatibleBackendwithBaseBackend BaseBackendHasPersistBackendpersistBackendIsPersistBackendBackendCompatibleprojectBackendPersistRecordBackend ToBackendKey toBackendKeyfromBackendKey BackendKey PersistCorePersistStoreReadgetManygetPersistStoreWrite updateGet repsertManyrepsert insertKeyinsertEntityMany insertMany_ insertManyinsert_replaceupdatedeleteinsert$Database.Persist.Class.PersistEntityfromPersistValueJSONtoPersistValueJSONentityIdFromJSONentityIdToJSONkeyValueEntityFromJSONkeyValueEntityToJSON entityValuesUnique EntityFieldKeyPersistEntityBackend PersistEntitykeyFromRecordM fieldLenspersistUniqueToValuespersistUniqueToFieldNamespersistUniqueKeysfromPersistValuestoPersistFieldspersistFieldDef entityDefpersistIdField keyFromValues keyToValuesBackendSpecificUpdateUpdate BackendUpdate updateUpdate updateField updateValue SelectOptLimitToOffsetByAscDescBackendSpecificFilterFilter BackendFilterFilterOr FilterAnd filterFilter filterField filterValue FilterValue UnsafeValue FilterValuesEntity entityKey entityVal SymbolToField symbolToField#Database.Persist.Class.PersistField getPersistMap PersistFieldtoPersistValuefromPersistValueOverflowNaturalunOverflowNaturalSomePersistFieldDatabase.Persist.Types.BasefromPersistValueTextrenderCascadeActionrenderFieldCascade noCascadetoEmbedEntityDefisFieldNotGeneratedparseFieldAttrskeyAndEntityFieldsentityKeyFields entityPrimaryentitiesPrimary CheckmarkActiveInactive IsNullableNullable NotNullable WhyNullable ByMaybeAttrByNullableAttr DatabaseName escapeWith EntityNameDBunEntityNameDB EntityNameHSunEntityNameHS EntityDefentityComments entitySum entityExtra entityDerivesentityForeigns entityUniques entityFields entityAttrsentityId entityHaskellentityDB ExtraLineAttr FieldAttrFieldAttrOtherFieldAttrMaxlenFieldAttrSqltypeFieldAttrDefaultFieldAttrConstraintFieldAttrReferenceFieldAttrNoreferenceFieldAttrSafeToRemoveFieldAttrMigrationOnlyFieldAttrMaybeFieldAttrNullable FieldTypeFTList FTTypeConFTApp FieldNameDB unFieldNameDB FieldNameHS unFieldNameHSFieldDeffieldGenerated fieldComments fieldCascadefieldReference fieldStrict fieldAttrs fieldSqlType fieldType fieldHaskellfieldDB ReferenceDef SelfReference CompositeRefEmbedRef NoReference ForeignRefEmbedEntityDefembeddedHaskellembeddedFields EmbedFieldDef emFieldCycle emFieldDB emFieldEmbedConstraintNameDBunConstraintNameDBConstraintNameHSunConstraintNameHS UniqueDef uniqueAttrs uniqueFields uniqueHaskell uniqueDBName CompositeDefcompositeFieldscompositeAttrsForeignFieldDef ForeignDefforeignToPrimaryforeignNullable foreignAttrs foreignFieldsforeignFieldCascadeforeignConstraintNameDBNameforeignConstraintNameHaskellforeignRefTableHaskellforeignRefTableDBName FieldCascade fcOnUpdate fcOnDelete CascadeAction SetDefaultSetNullCascadeRestrictPersistExceptionPersistMongoDBUnsupportedPersistMongoDBErrorPersistForeignConstraintUnmetPersistInvalidField PersistErrorPersistMarshalError PersistValuePersistDbSpecificPersistLiteralEscapedPersistLiteralPersistLiteral_ PersistArrayPersistObjectId PersistMap PersistList PersistNullPersistUTCTimePersistTimeOfDay PersistDay PersistBoolPersistRational PersistDouble PersistInt64 PersistTextPersistByteString LiteralType DbSpecificEscaped UnescapedSqlTypeSqlOtherSqlBlob SqlDayTimeSqlTimeSqlDaySqlBool SqlNumericSqlRealSqlInt64 SqlStringSqlInt32 PersistFilterNotInLeGeLtGtNeEqInUpdateException KeyNotFound UpsertErrorOnlyUniqueException PersistUpdateDivideMultiplySubtractAssignAdd$Database.Persist.Class.PersistConfigPersistConfigPoolPersistConfigBackend PersistConfigrunPoolcreatePoolConfigapplyEnv loadConfig