h$ 3     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:;<=>?@ABCDEFGHIJKLMNOPQRSTUTVWXYZ[\]^_^`abcdefghijklmnopqrstuvwxyz{|}~xzwy       !"#$%&'()*+*,*-./.0.1232425262728292:2;2<2=2>2?@A@B@C@D@E@F@G@H@I@J@K@L@M@N@O@P@Q@R@S@T@UVWVXVYVZV[V\V]V^V_V`VaVbVcVdVeVfVgVhViVjVkVlVmVnVoVpVqVrVsVtVuVvVwVxVyVz{|{}{~{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{.yesod-persistent-1.6.0.5-15WIBBZOkTKbZhPEkZbKNYesod.Persist.Core Yesod.PersistDBRunner runDBRunnerYesodPersistRunner getDBRunner YesodPersistYesodPersistBackendrunDBYesodDB defaultRunDBdefaultGetDBRunner runDBSourcerespondSourceDBget404getBy404 insert400 insert400_*yesod-core-1.6.18.5-FjsaaAF8Lb37lpyE9hB5hSYesod.Core.Handler respondSource)persistent-2.11.0.1-Gebvlq4FCmbQa682WppJZDatabase.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 liftPersist 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 EntityDefentityComments entitySum entityExtra entityDerivesentityForeigns entityUniques entityFields entityAttrsentityId entityHaskellentityDB ExtraLine HaskellName unHaskellNameDBNameunDBNameAttr FieldAttrFieldAttrOtherFieldAttrMaxlenFieldAttrSqltypeFieldAttrDefaultFieldAttrConstraintFieldAttrReferenceFieldAttrNoreferenceFieldAttrSafeToRemoveFieldAttrMigrationOnlyFieldAttrMaybeFieldAttrNullable FieldTypeFTList FTTypeConFTAppFieldDeffieldGenerated fieldComments fieldCascadefieldReference fieldStrict fieldAttrs fieldSqlType fieldType fieldHaskellfieldDB ReferenceDef SelfReference CompositeRefEmbedRef NoReference ForeignRefEmbedEntityDefembeddedHaskellembeddedFields EmbedFieldDef emFieldCycle emFieldDB emFieldEmbed UniqueDef uniqueAttrs uniqueFields uniqueHaskell uniqueDBName CompositeDefcompositeFieldscompositeAttrsForeignFieldDef ForeignDefforeignToPrimaryforeignNullable foreignAttrs foreignFieldsforeignFieldCascadeforeignConstraintNameDBNameforeignConstraintNameHaskellforeignRefTableHaskellforeignRefTableDBName FieldCascade fcOnUpdate fcOnDelete CascadeAction SetDefaultSetNullCascadeRestrictPersistExceptionPersistMongoDBUnsupportedPersistMongoDBErrorPersistForeignConstraintUnmetPersistInvalidField PersistErrorPersistMarshalError PersistValuePersistDbSpecificPersistLiteralEscapedPersistLiteral PersistArrayPersistObjectId PersistMap PersistList PersistNullPersistUTCTimePersistTimeOfDay PersistDay PersistBoolPersistRational PersistDouble PersistInt64 PersistTextPersistByteStringSqlTypeSqlOtherSqlBlob SqlDayTimeSqlTimeSqlDaySqlBool SqlNumericSqlRealSqlInt64 SqlStringSqlInt32 PersistFilterNotInLeGeLtGtNeEqInUpdateException KeyNotFound UpsertErrorOnlyUniqueException PersistUpdateDivideMultiplySubtractAssignAdd$Database.Persist.Class.PersistConfigPersistConfigPoolPersistConfigBackend PersistConfigrunPoolcreatePoolConfigapplyEnv loadConfig2persistent-template-2.9.1.0-5S4uSwoPN0pEorQgFaeTkeDatabase.Persist.TH mkMigratederivePersistFieldJSONderivePersistFieldmkEntityDefListmkDeleteCascademkSavesharepersistFieldFromEntity fieldError pkNewtypelensPTH sqlSettingsmkPersistSettings mkPersistparseReferencesembedEntityDefspersistManyFileWithpersistFileWithpersistLowerCasepersistUpperCase persistWithMkPersistSettingsmpsDeriveInstancesmpsGenerateLenses mpsEntityJSONmpsConstraintLabelModifiermpsFieldLabelModifiermpsPrefixFields mpsBackend mpsGeneric EntityJSON entityToJSONentityFromJSON