?*7l      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijk*HA single database entity. For example, if writing a blog application, a L blog entry would be an entry, containing fields such as title and content. GThe monad transformer in which actions for this entity must occur. For E example, entities declared to work with a sqlite backend would most @ likely use a ReaderT monad transformer holding onto a database  connection. HBy using a monad transformer here, users can allow arbitrary effects to J exist in the underlying monad. For example, Yesod applications can embed H a Handler monad here. The only restriction on that underlying monad is  it must be an instance of l. wThe unique identifier associated with this entity. In general, backends also define a type synonym for this, such that "type MyEntityId = Key MyEntity". &Fields which can be updated using the   and    functions.  Filters which are available for ,   and  4. Each filter constructor specifies the field being G filtered on, the type of comparison applied (equals, not equals, etc) & and the argument for the comparison. "How you can sort the results of a . )Unique keys in existence on this entity. EPrepare database for this entity, if necessary. In SQL, this creates  values and indices if they don')t exist. The first argument is not used,  so you can used m. ACreate a new record in the database, returning the newly created  identifier. AReplace the record in the database with the given key. Result is , undefined if such a record does not exist. /Update individual fields on a specific record. EUpdate individual fields on any record matching the given criterion. DDelete a specific record by identifier. Does nothing if record does  not exist. BDelete a specific record by unique key. Does nothing if no record  matches. 1Delete all records matching the given criterion. *Get a record by identifier, if available. GGet a record by unique key, if available. Returns also the identifier. EGet all records matching the given criterion in the specified order.  Returns also the identifiers. .A value which can be marshalled to and from a !. CA SQL data type. Naming attempts to reflect the underlying Haskell L datatypes, eg SqlString instead of SqlVarchar. Different SQL databases may . have different translations for these types.  !HA raw value which can be stored in any backend and can be marshalled to  and from a . "#$%&'()**  !"#$%&'()**!*)('&%$#"  *    ! *)('&%$#""#$%&'()*>+,-./0123456789:;<=>?@ABCDEFGHIname, type, attribs Jname, columns KLnMNOPQRoSTpUVqWrstXYZ[\]^_`a7+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`a7LMFGHIJKVRTNOPQSUWXZ[^]\_DEBC@AY>?789;:<=0654321-./+,`a7+,,-././06543211234567889;::;<==>??@AABCCDEEFGHIJKGHIJKLMNOPQRSTUVWXYZ[\]^_`abHConverts a quasi-quoted syntax into a list of entity definitions, to be I used as input to the backend-specific template haskell generation code. uvwxyz{bbbcdefghijk|}~B+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijk bkcdefghij cdefghijefghijk      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKKLLMNOPQRSTUVWXYZ[\]^_`abcdefghiijklmnopqrstuvwxyz{|}~persistent-0.0.0Database.Persist.GenericSqlDatabase.PersistDatabase.Persist.HelperDatabase.Persist.QuasibaseGHC.IntInt64 PersistEntity PersistMonadKeyUpdateFilterOrderUnique initializeinsertreplaceupdate updateWheredeletedeleteBy deleteWheregetgetByselect PersistFieldtoPersistValuefromPersistValuesqlType isNullableSqlTypeSqlBlob SqlDayTimeSqlTimeSqlDaySqlBoolSqlReal SqlInteger SqlString PersistValue PersistNullPersistUTCTimePersistTimeOfDay PersistDay PersistBool PersistDouble PersistInt64PersistByteString PersistString HalfDefined halfDefinedToFiltertoFilterisNull PersistFilterLeGeLtGtNeEqToOrdertoOrder PersistOrderDescAsc ToFieldName toFieldName ToFieldNames toFieldNamesFromPersistValuesfromPersistValuesToPersistFieldstoPersistFieldsSomePersistField EntityDef entityName entityColumns entityUniques entityDerivesrecName upperFirst dataTypeDecpersistMonadTypeDec keyTypeDec filterTypeDec entityFilters updateTypeDec entityUpdates orderTypeDec entityOrders uniqueTypeDecmkToPersistFieldstoPersistValuesmkToFieldNames mkToFieldName mkToOrder mkToFiltermkPersistField mkHalfDefinedapE addIsNullablepersist RowPopper GenericSql gsWithStmt gsExecutegsInsertgsEntityDefExists gsKeyTypederiveGenericSql!MonadCatchIO-transformers-0.2.2.0Control.Monad.CatchIO MonadCatchIOGHC.Err undefined lowerFirstmkFiltermkUpdatemkOrdermkUnique pairToTypedegenparsewords'nestparse'takeCols takeUniqs takeDerivesmkFromPersistValues filterClause tableNametoField tableColumns tableUniques' toFieldName' toFieldNames'