BConditionally adding Show instance for mysql-haskell's ConnectInfoSafeNone %&*:DR:AThis type is used to determine how to update rows using MySQL's INSERT ON DUPLICATE KEY UPDATE functionality, exposed via  in the library.(Copy the field directly from the record.KOnly copy the field if it is not equal to the provided value. @since 2.6.2MySQL connection information. ;Information required to connect to a MySQL database using  persistentE's generic facilities. These values are the same that are given to  .*Extra column information from MySQL schemaSee the definition of the  + function to see how these fields are used.!Getter a) is a function that converts an incoming  MySQLValue into a data type a."newtype around # that supports the $ type class. Create 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 %; outside the action since it may be already been released. Create a MySQL connection pool. Note that it's your responsibility to properly close the connection pool when unneeded. Use   for automatic resource control. Same as  O, but instead of opening a pool of connections, only one connection is opened.&Internal function that opens a  mysql-haskell connection to the server.'Internal function that opens a  persistent! connection to the MySQL server.(Set autocommit setting)Start a transaction.*Commit the current transaction.+!Rollback the current transaction.,jPrepare a query. We don't support prepared statements, but we'll do some client-side preprocessing here.-1SQL code to be executed when inserting an entity..5Execute an statement that doesn't return any results./$query' allows arguments to be empty.07Execute an statement that does return results. unlike persistent-mysql, we actually _stream_ results.1'Encode a Haskell bool into a MySQLValue2)Decode a Numeric value into a PersistBool3)Decode a whole number into a PersistInt644,Decode a decimal number into a PersistDouble5Get the corresponding ! #& depending on the type of the column.6(Create the migration plan for the given 7 val.8Find out the type of a column.90Find out the maxlen of a column (default to 200):Find out the maxlen of a field; Helper for ; that finds out the which primary key columns to reference.<Returns all of the =s/ in the given table currently in the database.>.Get the information about a column in a table.?1Parse the type of column as returned by MySQL's INFORMATION_SCHEMA tables.@!getAlters allDefs tblName new old* finds out what needs to be changed from old to become new.AfindAlters newColumn oldColumns4 finds out what needs to be changed in the columns  oldColumns for  newColumn to be supported.BPrints the part of a  CREATE TABLE! statement about a given column.C Renders an D in MySQL's format.E3Render an action that must be done on the database.F.Render an action that must be done on a table. /Render an action that must be done on a column.G1Escape a database name to be included on a query. Public constructor for  MySQLConf.Public constructor for MySQLConnectInfo.Update port number for MySQLConnectInfo.Update character set for MySQLConnectInfo.Set TLS ClientParams for MySQLConnectInfo.Mock 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.MySQL specific H8. This will prevent multiple queries, when one will do.WCopy the field into the database only if the value in the corresponding record is non-NULL. @since 2.6.2Copy the field into the database only if the value in the corresponding record is non-empty, where "empty" means the Monoid definition for I . Useful for J, K,  ByteString, etc.The resulting  type is useful for the  function. @since 2.6.2Copy 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.2Do 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 | | | +------+-------------+-------+----------+LThis creates the query for bulkInsertOnDuplicateKeyUpdatej. It will give garbage results if you don't provide a list of either fields to copy or fields to update.MVendored from  persistent.N Gets the O for an P. Vendored from  persistent._QRS TUVWXYZ[\]^_`abcdefghi!"j Connection information.2Number of connections to be kept open in the pool.4Action to be executed that uses the connection pool. Connection information.2Number of connections to be kept open in the pool. Connection information./Action to be executed that uses the connection.&'()*+,-./0123456k89:;l<>?@ABC maxlen"include character set information?EF mGno The connection information.;How many connections should be held on the connection pool.hostnameusernamepassworddatabaseNumeric ID of collation. See  ;https://dev.mysql.com/doc/refman/5.7/en/show-collation.html.*Reference connectInfo to perform update on ClientParams$ to establish a TLS connection with.*Reference connectInfo to perform update onp3A list of the records you want to insert, or update@A list of updates to perform based on the record being inserted.RA list of the updates to apply that aren't dependent on the record being inserted.L3A list of the records you want to insert, or update+A list of the fields you want to copy over.RA list of the updates to apply that aren't dependent on the record being inserted.MqrNstuvwxyz{|}~=%H      !"#$%&'()*+,-./0123456789:;<=>?@ABC7DEFGHIJKLMNOPQRSPTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~O#D   FQRS TUVWXYZ[\]^_`abcdefghi!"j &'()*+,-./0123456k89:;l<>?@ABCEF mGno pLMqrN       !"#$%&'()*+,'-./0123456789:;<=>?'@ABCDEF'-GHIJKLM'(NOPQ'RSTUVWXYTUZ[\]'(^'@_ `a "bcdefghiijklhmnopqrs&tuvwxyz{'|}'|~''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''-'-G'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-''''''''''''''''''''''''''''''''''''''''''''''''' ' ' ' ' ''R'R'R'R'R'R'R'R'R'R'R'R''''' '!'"'#'$'%'&'''()'(*'(+'(,'(-'(.'(/'(0'(1'(2'(3'(4'(5'(6'(7'(8'(9'(:';'<'='>'?'@'(A'(B'(C'(D'(E'(F'(G'(H'(I'(J'(K'(L'(M'(N'(O'(P'@Q'@R'@S'@T'@U'@V'@W'@X'@Y'@Z'@['@\'@]'@^'@_'@`'@a'@b'@c'@d'@e'@f'@g'@_'@h'@i'@j'@k'@l'@m'@n'@o'@p'@q'@r'@r'@s'@t'@u'@v'@w'@x'@y'@y'@z'@{'|}'|~'|'|'|'|'('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('(^'('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('('(q'('('('('('('('('('('('(g4persistent-mysql-haskell-0.3.5-9qwPpZJTXS86h8Uw5qZkdDatabase.Persist.MySQL-Database.Persist.MySQLConnectInfoShowInstance*tcp-streams-1.0.1.0-C3sqjBnvEseFS6t6X6b5b0Data.TLSSetting CustomCAStoreMozillaCAStore SystemCAStoreTrustedCAStoremakeClientParamsmakeClientParams' SomeFieldMySQLConnectInfo MySQLConf withMySQLPoolcreateMySQLPool withMySQLConn mkMySQLConfmkMySQLConnectInfosetMySQLConnectInfoPortsetMySQLConnectInfoCharsetsetMySQLConnectInfoTLS mockMigrationinsertOnDuplicateKeyUpdatecopyUnlessNullcopyUnlessEmpty copyUnlessEqinsertManyOnDuplicateKeyUpdate$fPersistConfigMySQLConf$fFromJSONMySQLConf $fQueryParamP$fShowMySQLConnectInfo$fShowMySQLConf CopyUnlessEq ColumnInfo AddReference showAlterGetterP'persistent-2.7.1-EcjaPryUGUCCBfJXqV52kkDatabase.Persist.Types.Base PersistValue,mysql-haskell-0.8.3.0-LyRLS0q8MRFBgpQ34rWfy0Database.MySQL.QueryParamDatabase.Persist.Sql.TypesConnectionPoolconnect'open' autocommit'begin'commit' rollback'prepare' insertSql'execute'query' withStmt' encodeBool decodeBool decodeInteger decodeDouble getGettermigrate'$Database.Persist.Class.PersistEntity PersistEntityfindTypeOfColumnfindMaxLenOfColumnfindMaxLenOfField addReference getColumnsColumn getColumnparseColumnType getAlters findAlters showColumn showSqlTypeSqlType showAlterDbshowAlterTable escapeDBName$Database.Persist.Class.PersistUniqueupsertbaseGHC.Basemempty#text-1.2.2.2-KC7dWoG09dA1F6jKj5GSqhData.Text.InternalTextStringmkBulkInsertQuery mkUpdateTextupdateFieldDefFieldDefUpdate innerConnInfo innerConnTLS ciColumnType ciMaxLengthciNumericPrecisionciNumericScaleAlterDBAddTable AlterColumn AlterTableAddUniqueConstraintDropUniqueConstraint AlterColumn'ChangeAdd'DropDefault NoDefaultUpdate' DropReferenceaddTableudToPairrefName myConnInfo setMyConnInfo mockMigratecommaSeparated parenWrappedDatabase.Persist.SqltransactionUndotransactionSave(Database.Persist.Sql.Orphan.PersistQuerydecorateSQLWithLimitOffsetupdateWhereCountdeleteWhereCount(Database.Persist.Sql.Orphan.PersistStore fieldDBName getFieldName tableDBName getTableName fromSqlKeytoSqlKey withRawQueryDatabase.Persist.Sql.Runclose' withSqlConn askLogFunc createSqlPool withSqlPoolliftSqlPersistMPoolrunSqlPersistMPoolrunSqlPersistM runSqlConn runSqlPoolDatabase.Persist.Sql.MigrationmigraterunMigrationUnsaferunMigrationSilent runMigration getMigration showMigrationprintMigrationparseMigration'parseMigrationDatabase.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 stmtQuery SqlBackend connPrepare connInsertSqlconnInsertManySql connUpsertSql connStmtMap connCloseconnMigrateSql connBegin connCommit connRollbackconnEscapeName connNoLimit connRDBMSconnLimitOffset connLogFunc connMaxParamsSqlReadBackendunSqlReadBackendSqlWriteBackendunSqlWriteBackendSqlBackendCanReadSqlBackendCanWriteSqlReadT SqlWriteT IsSqlBackendDatabase.Persist.Class PersistUnique PersistQuery PersistStore$Database.Persist.Class.DeleteCascadedeleteCascadeWhere DeleteCascade deleteCascade$Database.Persist.Class.PersistConfig PersistConfigPersistConfigBackendPersistConfigPool loadConfigapplyEnvcreatePoolConfigrunPool checkUnique replaceUnique getByValue onlyUniqueinsertUniqueEntityinsertByPersistUniqueReadgetByPersistUniqueWritedeleteBy insertUniqueupsertBy#Database.Persist.Class.PersistQueryselectKeysList selectList selectKeys selectSourcePersistQueryReadcountselectSourceRes selectFirst selectKeysResPersistQueryWrite updateWhere deleteWhere#Database.Persist.Class.PersistStore insertRecord getEntity insertEntity belongsToJust belongsTo getJustEntitygetJust liftPersistHasPersistBackend BaseBackendpersistBackendIsPersistBackendBackendCompatibleprojectBackendPersistRecordBackend ToBackendKey toBackendKeyfromBackendKeySqlWriteBackendKeySqlReadBackendKey SqlBackendKeyunSqlWriteBackendKeyunSqlReadBackendKeyunSqlBackendKey PersistCore BackendKeyPersistStoreReadgetPersistStoreWritedeleteinsertupdatereplaceinsert_ insertMany insertMany_insertEntityMany insertKeyrepsert updateGetfromPersistValueJSONtoPersistValueJSONentityIdFromJSONentityIdToJSONkeyValueEntityFromJSONkeyValueEntityToJSON entityValuesUniqueKeyPersistEntityBackend EntityField keyToValues keyFromValuespersistIdField entityDefpersistFieldDeftoPersistFieldsfromPersistValuespersistUniqueKeyspersistUniqueToFieldNamespersistUniqueToValues fieldLensBackendSpecificUpdate 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 FTTypeConFTAppFTList fieldHaskellfieldDB fieldType 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 PersistFilterEqNeGtLtGeLeInNotInUpdateException KeyNotFound UpsertErrorOnlyUniqueException PersistUpdateAssignAddSubtractMultiplyDivide