-     None *:DORT  Since 1.2.0This 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  .mIt 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.0 Helper for creating . Since 1.2.0 Helper for implementing . Since 1.2.0 Like , but transforms a Source. See  % for an example, practical use case. Since 1.2.0 Extends . to create a streaming database response body. JGet the given entity by ID, or return a 404 not found if it doesn't exist.UGet the given entity by unique key, or return a 404 not found if it doesn't exist.Create a new record in the database, returning an automatically created key, or raise a 400 bad request if a uniqueness constraint is violated.Same as , but doesn t return a key.Should be equivalent to lift . notFoundZ, but there's an apparent bug in GHC 7.4.2 that leads to segfaults. This is a workaround.Constructed like , and for the same reasons.       NoneG !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJ K      !"#$%&'()*+,-.-/-0121314565758595:5;5<=>=?=@=A=B=C=D=E=F=G=H=I=JKLKMKNKOKPKQKRKSKTKUKVKWXYXZX[X\X]X^X_X`XaXbXcXdXeXfXgXhXiXjXkXlXmXnXoXpXqXrXsXtXuXvXwXxXyXz{|{}{~{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{      !"#$%&''()*+,-./0./1./2./3./4./5./6./7./8./9./:./;./<./=./>./?./@./A./B./C./D./E./F./G./H./H./I./JK-yesod-persistent-1.4.3-CN3euWKnI4nK7I5eEZZZfYYesod.Persist.Core Yesod.PersistDBRunner runDBRunnerYesodPersistRunner getDBRunner YesodPersistYesodPersistBackendrunDBYesodDB defaultRunDBdefaultGetDBRunner runDBSourcerespondSourceDBget404getBy404 insert400 insert400_(yesod-core-1.4.37-5aNan1MxQHC3ejYNs6eFB7Yesod.Core.Handler respondSource notFound' badRequest' unSqlPersistT'persistent-2.7.1-EcjaPryUGUCCBfJXqV52kkDatabase.PersistlimitOffsetOrder 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 onlyUniqueinsertUniqueEntityinsertByPersistUniqueReadgetByPersistUniqueWritedeleteBy insertUniqueupsertupsertBy#Database.Persist.Class.PersistQueryselectKeysList selectList selectKeys selectSourcePersistQueryReadcountselectSourceRes selectFirst selectKeysResPersistQueryWrite updateWhere deleteWhere#Database.Persist.Class.PersistStore insertRecord getEntity insertEntity belongsToJust belongsTo getJustEntitygetJust liftPersistHasPersistBackend BaseBackendpersistBackendIsPersistBackendBackendCompatibleprojectBackendPersistRecordBackend ToBackendKey toBackendKeyfromBackendKey PersistCore BackendKeyPersistStoreReadgetPersistStoreWritedeleteinsertupdatereplaceinsert_ insertMany insertMany_insertEntityMany insertKeyrepsert updateGet$Database.Persist.Class.PersistEntityfromPersistValueJSONtoPersistValueJSONentityIdFromJSONentityIdToJSONkeyValueEntityFromJSONkeyValueEntityToJSON entityValues PersistEntityUniqueKeyPersistEntityBackend EntityField keyToValues keyFromValuespersistIdField entityDefpersistFieldDeftoPersistFieldsfromPersistValuespersistUniqueKeyspersistUniqueToFieldNamespersistUniqueToValues fieldLensBackendSpecificUpdateUpdate BackendUpdate updateField updateValue updateUpdate SelectOptAscDescOffsetByLimitToBackendSpecificFilterFilter FilterAndFilterOr BackendFilter filterField filterValue filterFilterEntity entityKey entityVal#Database.Persist.Class.PersistField getPersistMap PersistFieldtoPersistValuefromPersistValueSomePersistFieldDatabase.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 PersistUpdateAssignAddSubtractMultiplyDivide0persistent-template-2.5.3-DCJfbtf3Dml6Po732LiQBYDatabase.Persist.THpackPTH mkMigratederivePersistFieldJSONderivePersistFieldmkDeleteCascademkSavesharepersistFieldFromEntitylensPTHsqlOnlySettings sqlSettingsmkPersistSettings mkPersistparseReferencespersistFileWithpersistLowerCasepersistUpperCase persistWithMkPersistSettings mpsBackend mpsGenericmpsPrefixFields mpsEntityJSONmpsGenerateLenses EntityJSON entityToJSONentityFromJSON