WKX      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~     Z name, type, attribs name, columns !"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. limit offset ,Get the 1/s of all records matching the given criterion. -<The total number of records fulfilling the given criterion. ./0HA 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. 1wThe unique identifier associated with this entity. In general, backends also define a type synonym for this, such that "type MyEntityId = Key MyEntity". 2&Fields which can be updated using the $ and %  functions. 3 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. 4"How you can sort the results of a +. 5)Unique keys in existence on this entity. 6789:;<=>?@ABCDEFG.A value which can be marshalled to and from a V. HIJKLCA 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. MNOPQRS+8-byte integer; should be renamed SqlInt64 TUVHA raw value which can be stored in any backend and can be marshalled to  and from a G. WXYZ[\]^_`JInsert a value, checking for conflicts with any unique constraints. If a 5 duplicate exists in the database, it is returned as . Otherwise, the  new 1 is returned as . aKCheck whether there are any conflicts for unique keys with this entity and $ existing entities in the database. Returns 9 if the entity would be unique, and could thus safely be  " ed; returns  on a conflict. bCall +" but return the result as a list. limit offset cZ  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcZV_^]\[ZYXWLUTSRQPONMGHIJK0123456789:;<=>?@ABCDEF !"#$%&'()*+,-./b`a c Z     ! "#$%&'()*+,-"#$%&'()*+,-.//0123456789:;<=>?@ABCDEF123456789:;<=>?@ABCDEFGHIJKHIJKL UTSRQPONMMNOPQRSTUV _^]\[ZYXWWXYZ[\]^_`abc+d"Create data types and appropriate 0 instances for the given  -s. Works well with the persist quasi-quoter. efghAutomatically creates a valid G instance for any datatype  that has valid  and ' instances. Can be very convenient for   types. defghdefghdefgh iHConverts a quasi-quoted syntax into a list of entity definitions, to be D used as input to the template haskell generation code (mkPersist). iii'jklmnopqrstuvwxyz{|}~1Create the list of columns for the given entity. %jklmnopqrstuvwxyz{|}~%{|}~uvwxyznopqrstmjkl%jklklmnopqrstopqrstuvwxyzvwxyz{ |}~|}~Same as 2, but returns a list of the SQL commands executed % instead of printing them to stderr.  is silent? ECreates a single function to perform all migrations for the entities N defined here. One thing to be aware of is dependencies: if you have entities I with foreign references, make sure to place those definitions after the  entities they reference. u{{u .!"#$%&'()*+,-0123456789:;<=>?@ABCDEFGHIJK`abdi.GHIJK0123456789:;<=>?@ABCDEF!"#$%&'()*+,-dib`a       !""#$%&'()*+,-./01234556789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnoppqrsstuvwxyyz{|}~~}| persistent-0.3.0.1Database.Persist.PoolDatabase.Persist.BaseDatabase.Persist.THDatabase.Persist.Quasi$Database.Persist.GenericSql.InternalDatabase.Persist.GenericSql.RawDatabase.Persist.GenericSqlDatabase.Persist PoolStats poolStatsMaxpoolStatsAvailablepoolStatsCreatedPool poolStats createPool withPool'withPoolPersistExceptionPersistMarshalException DeleteCascade deleteCascade PersistOrderDescAsc PersistFilterNotInInLeGeLtGtNeEq EntityDef entityName entityAttribs entityColumns entityUniques entityDerivesPersistBackendinsertreplaceupdate updateWheredeletedeleteBy deleteWheregetgetByselect selectKeyscountSomePersistField PersistEntityKeyUpdateFilterOrderUnique entityDeftoPersistFieldsfromPersistValues halfDefined toPersistKeyfromPersistKeyshowPersistKeypersistFilterToFieldNamepersistFilterToFilterpersistFilterToValuepersistOrderToFieldNamepersistOrderToOrderpersistUpdateToFieldNamepersistUpdateToValuepersistUniqueToFieldNamespersistUniqueToValuespersistUniqueKeys PersistFieldtoPersistValuefromPersistValuesqlType isNullableSqlTypeSqlBlob SqlDayTimeSqlTimeSqlDaySqlBoolSqlReal SqlIntegerSqlInt32 SqlString PersistValue PersistNullPersistUTCTimePersistTimeOfDay PersistDay PersistBool PersistDouble PersistInt64PersistByteString PersistStringinsertBy checkUnique selectListdeleteCascadeWhere mkPersistshare2mkSavemkDeleteCascadederivePersistFieldpersistRawName unRawName UniqueDefColumncNamecNullcTypecDefault cReference StatementfinalizeresetexecutewithStmt Connectionprepare insertSqlstmtMapclose migrateSqlbegincommitrollback escapeNamenoLimit RowPopper withSqlPool withSqlConn mkColumnsrefName tableColumns rawFieldName rawTableName SqlPersist unSqlPersistgetStmtgetStmt' MigrationConnectionPool runSqlPool runSqlConnparseMigrationparseMigration'printMigration getMigration runMigrationrunMigrationSilentrunMigrationUnsafemigrate mkMigratePoolExhaustedExceptionpoolMaxpoolDatapoolMakePoolData poolAvail poolCreatedbase Data.EitherLeftRightghc-primGHC.BoolTrueFalseDep depTargetdepSourceTabledepSourceField depSourceNullrecName lowerFirst upperFirst dataTypeDec keyTypeDec filterTypeDec entityFilters isFilterListmkFilter updateTypeDec entityUpdatesmkUpdate orderTypeDec entityOrdersmkOrder uniqueTypeDecmkUnique pairToTypedegenmkToPersistFieldsmkToFieldNamesmkUniqueToValues mkToFieldName mkToOrder mkToFilter mkToValue mkToFiltValue mkHalfDefinedapEmkFromPersistValuesmkEntity mkUniqueKeysGHC.ShowShowGHC.ReadReadGHC.EnumEnumparse_removeLeadingSpaces killCarriagewords'words''nestparse'takeCols takeUniqs takeDerivesclose' getSqlValueCautiousMigrationSql withStmt'execute'dummyFromUnique getFieldName tableColumn dummyFromKey filterClausedummyFromFiltsallSql unsafeSqlsafeSql runMigration'executeMigrategetFiltsValues