!z(      !"#$%&'None &'+<FTVe<-persistent-mysql An alias for q. The type previously was only used to copy a single value, but was expanded to be handle more complex queries.persistent-mysqlAThis type is used to determine how to update rows using MySQL's "INSERT ... ON DUPLICATE KEY UPDATE functionality, exposed via # in this library.(persistent-mysql(Copy the field directly from the record.)persistent-mysql=Only copy the field if it is not equal to the provided value.persistent-mysql;Information required to connect to a MySQL database using  persistentE's generic facilities. These values are the same that are given to .persistent-mysqlThe connection information.persistent-mysql;How many connections should be held on the connection pool.*persistent-mysql*Extra column information from MySQL schema+persistent-mysqlSee the definition of the ,+ function to see how these fields are used.-persistent-mysqlGetter aA is a function that converts an incoming value into a data type a..persistent-mysqlnewtype around / that supports the 0 type class.persistent-mysqlCreate a MySQL connection pool and run the given action. The pool is properly released after the action finishes using it. Note that you should not use the given 1; outside the action since it may be already been released.persistent-mysqlCreate a MySQL connection pool. Note that it's your responsibility to properly close the connection pool when unneeded. Use  for automatic resource control.persistent-mysqlSame as O, but instead of opening a pool of connections, only one connection is opened.2persistent-mysql?Internal function that opens a connection to the MySQL server.3persistent-mysqljPrepare a query. We don't support prepared statements, but we'll do some client-side preprocessing here.4persistent-mysql1SQL code to be executed when inserting an entity.5persistent-mysql5Execute an statement that doesn't return any results.6persistent-mysqllExecute an statement that does return results. The results are fetched all at once and stored into memory.7persistent-mysqlHelper to construct -s using 8.9persistent-mysqlGet the corresponding - /& depending on the type of the column.:persistent-mysql(Create the migration plan for the given ; val.<persistent-mysqlFind out the type of a column.=persistent-mysql0Find out the maxlen of a column (default to 200)>persistent-mysqlFind out the maxlen of a field?persistent-mysql Helper for +; that finds out the which primary key columns to reference.@persistent-mysqlReturns all of the As/ in the given table currently in the database.Bpersistent-mysql.Get the information about a column in a table.Cpersistent-mysql1Parse the type of column as returned by MySQL's INFORMATION_SCHEMA tables.Dpersistent-mysql!getAlters allDefs tblName new old* finds out what needs to be changed from old to become new.Epersistent-mysqlfindAlters newColumn oldColumns4 finds out what needs to be changed in the columns  oldColumns for  newColumn to be supported.Fpersistent-mysqlPrints the part of a  CREATE TABLE! statement about a given column.Gpersistent-mysql Renders an H in MySQL's format.Ipersistent-mysql3Render an action that must be done on the database.Jpersistent-mysql.Render an action that must be done on a table.,persistent-mysql/Render an action that must be done on a column.Kpersistent-mysql1Escape a database name to be included on a query.persistent-mysqlMock a migration even when the database is not present. This function will mock the migration for a database even when the actual database isn't already present in the system.persistent-mysqlMySQL specific upsert_. This will prevent multiple queries, when one will do. The record will be inserted into the database. In the event that the record already exists in the database, the record will have the relevant updates performed.persistent-mysqlWCopy the field into the database only if the value in the corresponding record is non-NULL. @since 2.6.2 persistent-mysqlCopy the field into the database only if the value in the corresponding record is non-empty, where "empty" means the Monoid definition for L . Useful for M, N, O, etc.The resulting  type is useful for the # function. @since 2.6.2!persistent-mysqlCopy the field into the database only if the field is not equal to the provided value. This is useful to avoid copying weird nullary data into the database.The resulting  type is useful for the # function. @since 2.6.2"persistent-mysql(Copy the field directly from the record.#persistent-mysqlDo a bulk insert on the given records in the first parameter. In the event that a key conflicts with a record currently in the database, the second and third parameters determine what will happen.The second parameter is a list of fields to copy from the original value. This allows you to specify which fields to copy from the record you're trying to insert into the database to the preexisting row.The third parameter is a list of updates to perform that are independent of the value that is provided. You can use this to increment a counter value. These updates only occur if the original record is present in the database.More details on  usageThe [] parameter allows you to specify which fields (and under which conditions) will be copied from the inserted rows. For a brief example, consider the following data model and existing data set: nItem name Text description Text price Double Maybe quantity Int Maybe Primary name  items: +------+-------------+-------+----------+ | name | description | price | quantity | +------+-------------+-------+----------+ | foo | very good | | 3 | | bar | | 3.99 | | +------+-------------+-------+----------+-This record type has a single natural key on itemNamea. Let's suppose that we download a CSV of new items to store into the database. Here's our CSV: Hname,description,price,quantity foo,,2.50,6 bar,even better,,5 yes,wow,,-We parse that into a list of Haskell records: records = [ Item { itemName = "foo", itemDescription = "" , itemPrice = Just 2.50, itemQuantity = Just 6 } , Item "bar" "even better" Nothing (Just 5) , Item "yes" "wow" Nothing Nothing ] .The new CSV data is partial. It only includes updates from the upstream vendor. Our CSV library parses the missing description field as an empty string. We don't want to override the existing description. So we can use the  : function to say: "Don't update when the value is empty."Likewise, the new row for bark includes a quantity, but no price. We do not want to overwrite the existing price in the database with a NULL value. So we can use & to only copy the existing values in.!The final code looks like this:  # records [   ItemDescription ,  ItemPrice ,  ItemQuantity ] [] HOnce we run that code on the datahase, the new data set looks like this: ,items: +------+-------------+-------+----------+ | name | description | price | quantity | +------+-------------+-------+----------+ | foo | very good | 2.50 | 6 | | bar | even better | 3.99 | 5 | | yes | wow | | | +------+-------------+-------+----------+Ppersistent-mysqlThis creates the query for bulkInsertOnDuplicateKeyUpdate. If you provide an empty list of updates to perform, then it will generate a dummy/no-op update using the first field of the record. This avoids duplicate key exceptions.persistent-mysqlConnection information.persistent-mysql2Number of connections to be kept open in the pool.persistent-mysql4Action to be executed that uses the connection pool.persistent-mysqlConnection information.persistent-mysql2Number of connections to be kept open in the pool.persistent-mysqlConnection information.persistent-mysql/Action to be executed that uses the connection.Gpersistent-mysql maxlenpersistent-mysql"include character set information?#persistent-mysql3A list of the records you want to insert, or updatepersistent-mysql+A list of the fields you want to copy over.persistent-mysqlRA list of the updates to apply that aren't dependent on the record being inserted.Ppersistent-mysql3A list of the records you want to insert, or updatepersistent-mysql+A list of the fields you want to copy over.persistent-mysqlRA list of the updates to apply that aren't dependent on the record being inserted.  QRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~A1      !"#$%&'();*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~/H !"#$  #" !      !"#$%&'()*+,-./01234/56789:;<2=>?@/ABCDEFG/5HIJKLMN/0OPQRSTUVWXSTYZ[\]/^_/^`/^a/^b/cd/ce/cf/cg/ch/ci/cj/ck/cl/mn/mo/mp/qr/qs/qt/qu/qv/qw/qx/yz/y{/y|/y}/y~/y/y/y/y/y/y/y/////////////////////////////////5/5H/5/5/5/5/5/5/5/5/5/5/5/5/5/5/5/5/5/5/5////////////////////////////////////////////////////////////////////////// / / / / ////////////////// /!/"/q#/q$/q%/q&/q'/q(/)/*/+/,/-/.///0/1/2/3/4/5/6/7/8/9/:/A;/A</A=/A>/A?/A@/AA/AB/AC/AD/AE/AF/AG/AH/AI/AJ/AK/AL/AM/AN/AO/AP/AQ/AR/AR/AS/AT/AU/AV/AW/AX/AY/AZ/A[/A\/A]/A]/A^/A_/A`/Aa/Ab/Ac/Ad/Ad/Ae/Af/gh/gi/gj/gk/gl/gl/0m/0n/0o/0p/0q/0r/0s/0t/0u/0v/0w/0x/0y/0z/0{/0{/0|/0}/0~/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0\/0/0/0/0/0/0/0/0/0/0/0/0Q///////-persistent-mysql-2.9.0-7y3Y23FUNuUAYkCHb7bAOUDatabase.Persist.MySQL"mysql-0.1.5-G1I8LdWofIFHIy7eMgzlRtDatabase.MySQL.BasedefaultSSLInfodefaultConnectInfo connectSSL connectPathconnectOptionsconnectDatabaseconnectPassword connectUser connectPort connectHost ConnectInfo sslCiphers sslCAPathsslCAsslCertsslKeySSLInfo SomeFieldHandleUpdateCollision MySQLConf myConnInfo myPoolSize withMySQLPoolcreateMySQLPool withMySQLConn mockMigrationinsertOnDuplicateKeyUpdatecopyUnlessNullcopyUnlessEmpty copyUnlessEq copyFieldinsertManyOnDuplicateKeyUpdate$fParamP$fPersistConfigMySQLConf$fFromJSONMySQLConf$fShowMySQLConf CopyField CopyUnlessEq ColumnInfo AddReference showAlterGetterP'persistent-2.9.0-IG71hmdjKut6Bg7wMGN6MCDatabase.Persist.Types.Base PersistValue)mysql-simple-0.4.5-KycQJYtac8LFGrUvRLUWo9Database.MySQL.Simple.ParamParamDatabase.Persist.Sql.TypesConnectionPoolopen'prepare' insertSql'execute' withStmt' convertPVDatabase.MySQL.Simple.ResultResult getGettermigrate'$Database.Persist.Class.PersistEntity PersistEntityfindTypeOfColumnfindMaxLenOfColumnfindMaxLenOfField addReference getColumnsColumn getColumnparseColumnType getAlters findAlters showColumn showSqlTypeSqlType showAlterDbshowAlterTable escapeDBNamebaseGHC.Basemempty text-1.2.3.0Data.Text.InternalTextStringbytestring-0.10.8.2Data.ByteString.Internal ByteStringmkBulkInsertQueryDatabase.Persist.SqltransactionUndoWithIsolationtransactionUndotransactionSaveWithIsolationtransactionSaveDatabase.Persist.Sql.MigrationmigraterunMigrationUnsaferunMigrationSilent runMigration getMigration showMigrationprintMigrationparseMigration'parseMigration(Database.Persist.Sql.Orphan.PersistQuerydecorateSQLWithLimitOffsetupdateWhereCountdeleteWhereCount(Database.Persist.Sql.Orphan.PersistStore fieldDBName getFieldName tableDBName getTableName fromSqlKeytoSqlKey withRawQueryDatabase.Persist.Sql.Runclose' withSqlConn askLogFunc createSqlPool withSqlPoolliftSqlPersistMPoolrunSqlPersistMPoolrunSqlPersistMrunSqlConnWithIsolation runSqlConnrunSqlPoolWithIsolation runSqlPoolDatabase.Persist.Sql.RawrawSql getStmtConnrawExecuteCount rawExecute rawQueryResrawQueryDatabase.Persist.Sql.ClassRawSql rawSqlColsrawSqlColCountReasonrawSqlProcessRowPersistFieldSqlsqlTypeDatabase.PersistlimitOffsetOrder toJsonText mapToJSON listToJSON||./<-.<-.>=.>.<=.<.!=.==./=.*=.-=.+=.=.Database.Persist.Sql.Internal mkColumnsdefaultAttribute ConnectioncNamecNullcSqlTypecDefaultcDefaultConstraintNamecMaxLen cReferencePersistentSqlExceptionStatementAlreadyFinalizedCouldn'tGetSQLConnection SqlPersistT SqlPersist SqlPersistMSqlCautiousMigration MigrationSingleunSingle#Database.Persist.Sql.Types.Internal readToUnknown readToWritewriteToUnknownLogFuncInsertSqlResult ISRSingle ISRInsertGet ISRManyKeys Statement stmtFinalize stmtReset stmtExecute stmtQueryIsolationLevelReadUncommitted ReadCommittedRepeatableRead Serializable SqlBackend connPrepare connInsertSqlconnInsertManySql connUpsertSqlconnPutManySql connStmtMap connCloseconnMigrateSql connBegin connCommit connRollbackconnEscapeName connNoLimit connRDBMSconnLimitOffset connLogFunc connMaxParamsconnRepsertManySqlSqlReadBackendunSqlReadBackendSqlWriteBackendunSqlWriteBackendSqlBackendCanReadSqlBackendCanWriteSqlReadT SqlWriteT IsSqlBackendDatabase.Persist.Class PersistUnique PersistQuery PersistStore$Database.Persist.Class.DeleteCascadedeleteCascadeWhere DeleteCascade deleteCascade#Database.Persist.Class.PersistQueryselectKeysList selectList selectKeys selectSourcePersistQueryReadcountselectSourceRes selectFirst selectKeysResPersistQueryWrite updateWhere deleteWhere$Database.Persist.Class.PersistUnique checkUnique replaceUnique getByValue onlyUniqueinsertUniqueEntityinsertByPersistUniqueReadgetByPersistUniqueWritedeleteBy insertUniqueupsertupsertByputMany#Database.Persist.Class.PersistStore insertRecord getEntity insertEntity belongsToJust belongsTo getJustEntitygetJust liftPersistHasPersistBackend BaseBackendpersistBackendIsPersistBackendBackendCompatibleprojectBackendPersistRecordBackend ToBackendKey toBackendKeyfromBackendKeySqlWriteBackendKeySqlReadBackendKey SqlBackendKeyunSqlWriteBackendKeyunSqlReadBackendKeyunSqlBackendKey PersistCore BackendKeyPersistStoreReadgetgetManyPersistStoreWritedeleteinsertupdateinsert_ insertMany insertMany_insertEntityMany insertKeyrepsert repsertManyreplace updateGetfromPersistValueJSONtoPersistValueJSONentityIdFromJSONentityIdToJSONkeyValueEntityFromJSONkeyValueEntityToJSON entityValuesKeyUniquePersistEntityBackend EntityField keyToValues keyFromValuespersistIdField entityDefpersistFieldDeftoPersistFieldsfromPersistValuespersistUniqueKeyspersistUniqueToFieldNamespersistUniqueToValues fieldLensBackendSpecificUpdateUpdate BackendUpdate updateField updateValue updateUpdate SelectOptAscDescOffsetByLimitToBackendSpecificFilterFilter FilterAndFilterOr BackendFilter filterField filterValue filterFilterEntity entityKey entityVal#Database.Persist.Class.PersistField getPersistMap PersistFieldtoPersistValuefromPersistValueSomePersistFieldfromPersistValueTexttoEmbedEntityDefkeyAndEntityFieldsentityKeyFields entityPrimary CheckmarkActiveInactive IsNullableNullable NotNullable WhyNullable ByMaybeAttrByNullableAttr EntityDef entityHaskellentityDBentityId entityAttrs entityFields entityUniquesentityForeigns entityDerives entityExtra entitySum ExtraLine HaskellName unHaskellNameDBNameunDBNameAttr FieldType FTTypeConFTAppFTListFieldDeffieldDB fieldType fieldHaskell fieldSqlType fieldAttrs fieldStrictfieldReference ReferenceDef NoReference ForeignRefEmbedRef CompositeRef SelfReferenceEmbedEntityDefembeddedHaskellembeddedFields EmbedFieldDef emFieldDB emFieldEmbed emFieldCycle UniqueDef uniqueHaskell uniqueDBName uniqueFields uniqueAttrs CompositeDefcompositeFieldscompositeAttrsForeignFieldDef ForeignDefforeignRefTableHaskellforeignRefTableDBNameforeignConstraintNameHaskellforeignConstraintNameDBName foreignFields foreignAttrsforeignNullablePersistException PersistErrorPersistMarshalErrorPersistInvalidFieldPersistForeignConstraintUnmetPersistMongoDBErrorPersistMongoDBUnsupported PersistTextPersistByteString PersistInt64 PersistDoublePersistRational PersistBool PersistDayPersistTimeOfDayPersistUTCTime PersistNull PersistList PersistMapPersistObjectIdPersistDbSpecific SqlStringSqlInt32SqlInt64SqlReal SqlNumericSqlBoolSqlDaySqlTime SqlDayTimeSqlBlobSqlOther PersistFilterEqInNeGtLtGeLeNotInUpdateException KeyNotFound UpsertErrorOnlyUniqueException PersistUpdateAssignAddSubtractMultiplyDivide$Database.Persist.Class.PersistConfig PersistConfigPersistConfigBackendPersistConfigPool loadConfigapplyEnvcreatePoolConfigrunPool