h$!      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[\]^_`abcdefghijklmnopqrstuvwxyz{|}~~       !"#$%&'()*+,-./0123456789::;<=>?@?A?B?C?D?E?F?G?H?I?J?K?L?M?N?O?P?QRSRTRUVWVXVYZ[Z\Z]Z^Z_Z`ZaZbZcZdZeZfZghihjhkhlhmhnhohphqhrhshthuhvhwhxhyhzh{h|h}h~/yesod-persistent-1.6.0.7-4WnOFaPiFevHTHTb7xMhNJYesod.Persist.Core Yesod.PersistDBRunner runDBRunnerYesodPersistRunner getDBRunner YesodPersistYesodPersistBackendrunDBYesodDB defaultRunDBdefaultGetDBRunner runDBSourcerespondSourceDBget404getBy404 insert400 insert400_*yesod-core-1.6.19.0-9YyvkwCrOzAI4f4xdQajGDYesod.Core.Handler respondSource*persistent-2.13.0.0-C4no6nIe3q7KKz3fRsj9ejDatabase.Persist.THdiscoverEntities mkMigrate migrateModelsderivePersistFieldJSONderivePersistFieldmkEntityDefListmkDeleteCascademkSavesharepersistFieldFromEntity fieldError pkNewtypelensPTH sqlSettingsmkPersistSettingssetImplicitIdDef mkPersistWith mkPersistparseReferencesembedEntityDefspersistManyFileWithpersistFileWithpersistLowerCasepersistUpperCase persistWithMkPersistSettingsmpsDeriveInstancesmpsGenerateLenses mpsEntityJSONmpsConstraintLabelModifiermpsFieldLabelModifiermpsPrefixFields mpsBackend mpsGeneric EntityJSON entityToJSONentityFromJSON'Database.Persist.ImplicitIdDef.Internal ImplicitIdDefDatabase.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 onlyUniqueinsertUniqueEntityinsertByonlyOneUniqueDefPersistUniqueReadgetByPersistUniqueWriteputManyupsertByupsertdeleteBy 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.EntityDefoverEntityFieldsgetEntityKeyFieldssetEntityIdDef setEntityIdgetEntityIdField getEntityId isEntitySumgetEntityFieldsDatabasegetEntityFieldsgetEntityForeignDefsgetEntityCommentssetEntityDBNamegetEntityExtragetEntityDBNamegetEntityHaskellNamegetEntityUniquesDatabase.Persist.FieldDef addFieldAttroverFieldAttrs setFieldAttrsDatabase.Persist.Types.BaserenderCascadeActionrenderFieldCascade noCascadeisHaskellFieldisFieldNotGeneratedparseFieldAttrskeyAndEntityFields entityPrimaryentitiesPrimary CheckmarkActiveInactive IsNullableNullable NotNullable WhyNullable ByMaybeAttrByNullableAttr EntityDef EntityIdDef EntityIdFieldEntityIdNaturalKey ExtraLineAttr FieldAttrFieldAttrOther FieldAttrSqlFieldAttrMaxlenFieldAttrSqltypeFieldAttrDefaultFieldAttrConstraintFieldAttrReferenceFieldAttrNoreferenceFieldAttrSafeToRemoveFieldAttrMigrationOnlyFieldAttrMaybeFieldAttrNullable FieldTypeFTListFTApp FTTypeConFTTypePromoted ReferenceDef SelfReference CompositeRefEmbedRef NoReference ForeignRefEmbedEntityDefembeddedHaskellembeddedFields EmbedFieldDef emFieldDB emFieldEmbed UniqueDef uniqueAttrs uniqueFields uniqueHaskell uniqueDBName CompositeDefcompositeFieldscompositeAttrsForeignFieldDef ForeignDefforeignToPrimaryforeignNullable foreignAttrs foreignFieldsforeignFieldCascadeforeignConstraintNameDBNameforeignConstraintNameHaskellforeignRefTableHaskellforeignRefTableDBName FieldCascade fcOnUpdate fcOnDelete CascadeAction SetDefaultSetNullCascadeRestrictPersistExceptionPersistMongoDBUnsupportedPersistMongoDBErrorPersistForeignConstraintUnmetPersistInvalidField PersistErrorPersistMarshalErrorSqlTypeSqlOtherSqlBlob SqlDayTimeSqlTimeSqlDaySqlBool SqlNumericSqlRealSqlInt64 SqlStringSqlInt32 PersistFilterNotInLeGeLtGtNeEqInUpdateException KeyNotFound UpsertError PersistUpdateDivideMultiplySubtractAssignAddFieldDeffieldIsImplicitIdColumnfieldGenerated fieldComments fieldCascadefieldReference fieldStrict fieldAttrs fieldSqlType fieldType fieldHaskellfieldDBDatabase.Persist.PersistValuefromPersistValueText PersistValuePersistDbSpecificPersistLiteralEscapedPersistLiteralPersistLiteral_ PersistArrayPersistObjectId PersistMap PersistList PersistNullPersistUTCTimePersistTimeOfDay PersistDay PersistBoolPersistRational PersistDouble PersistInt64 PersistTextPersistByteString LiteralType DbSpecificEscaped UnescapedDatabase.Persist.Names DatabaseName escapeWith FieldNameDB unFieldNameDB FieldNameHS unFieldNameHS EntityNameHSunEntityNameHS EntityNameDBunEntityNameDBConstraintNameDBunConstraintNameDBConstraintNameHSunConstraintNameHS$Database.Persist.Class.PersistConfigPersistConfigPoolPersistConfigBackend PersistConfigrunPoolcreatePoolConfigapplyEnv loadConfig