Versions in this module Expand all Collapse all v0 v0.2.0 Sep 30, 2023 Changes in this version + const AuthSwitchRequestPacket + const AutoIncrementFlag + const BinCmpFlag + const BinaryCollation + const BinaryFlag + const BlobFlag + const CRCantReadCharset + const CRCommandsOutOfSync + const CRConnHostError + const CRConnectionError + const CRMalformedPacket + const CRNamedPipeStateError + const CRSSLConnectionError + const CRServerGone + const CRServerHandshakeErr + const CRServerLost + const CRUnknownError + const CRVersionError + const CapabilityClientConnAttr + const CapabilityClientConnectWithDB + const CapabilityClientDeprecateEOF + const CapabilityClientFoundRows + const CapabilityClientLongFlag + const CapabilityClientLongPassword + const CapabilityClientMultiResults + const CapabilityClientMultiStatements + const CapabilityClientPluginAuth + const CapabilityClientPluginAuthLenencClientData + const CapabilityClientProtocol41 + const CapabilityClientSSL + const CapabilityClientSecureConnection + const CapabilityClientTransactions + const CharacterSetBinary + const CharacterSetUtf8 + const ComBinlogDump + const ComBinlogDumpGTID + const ComChangeUser + const ComConnect + const ComConnectOut + const ComCreateDB + const ComDaemon + const ComDebug + const ComDelayedInsert + const ComDropDB + const ComEnd + const ComFieldList + const ComInitDB + const ComPing + const ComPrepare + const ComProcessInfo + const ComProcessKill + const ComQuery + const ComQuit + const ComRefresh + const ComRegisterSlave + const ComResetConnection + const ComSetOption + const ComShutdown + const ComStatistics + const ComStmtClose + const ComStmtExecute + const ComStmtFetch + const ComStmtReset + const ComStmtSendLongData + const ComTableDump + const ComTime + const DefaultCollation + const DefaultMaxAllowedPacket + const EOFPacket + const ERAbortingConnection + const ERAccessDeniedError + const ERBadDb + const ERBadFTColumn + const ERBadFieldError + const ERBadNullError + const ERBadTable + const ERBlobCantHaveDefault + const ERBlobKeyWithoutLength + const ERBlobUsedAsKey + const ERBlobsAndNoTerminated + const ERCannotAddForeign + const ERCantAggregate2Collations + const ERCantAggregate3Collations + const ERCantAggregateNCollations + const ERCantCreateThread + const ERCantDoThisDuringAnTransaction + const ERCantDropFieldOrKey + const ERCantFindUDF + const ERCantRemoveAllFields + const ERCantUpdateWithReadLock + const ERCantUseOptionHere + const ERCollationCharsetMismatch + const ERConCount + const ERCyclicReference + const ERDBAccessDenied + const ERDataOutOfRange + const ERDataTooLong + const ERDelayedInsertTableLocked + const ERDerivedMustHaveAlias + const ERDiskFull + const ERDupArgument + const ERDupEntry + const ERDupFieldName + const ERDupKeyName + const ERDupUnique + const ERDuplicatedValueInType + const EREmptyQuery + const ERFeatureDisabled + const ERFieldSpecifiedTwice + const ERFileExists + const ERForcingClose + const ERFormNotFound + const ERFunctionNotDefined + const ERGlobalVariable + const ERGotSignal + const ERHostIsBlocked + const ERIllegalGrantForTable + const ERIllegalReference + const ERIncorrectGlobalLocalVar + const ERInvalidCharacterString + const ERInvalidDefault + const ERInvalidGroupFuncUse + const ERInvalidOnUpdate + const ERInvalidUseOfNull + const ERKeyColumnDoesNotExist + const ERKeyDoesNotExist + const ERKeyNotFound + const ERKeyRefDoNotMatchTableRef + const ERKillDenied + const ERLocalVariable + const ERLockDeadlock + const ERLockTableFull + const ERLockWaitTimeout + const ERMixOfGroupFuncAndFields + const ERMultiplePriKey + const ERNetPacketTooLarge + const ERNoDb + const ERNoDefault + const ERNoPermissionToCreateUsers + const ERNoReferencedRow + const ERNoSuchIndex + const ERNoSuchTable + const ERNoSuchThread + const ERNoTablesUsed + const ERNonExistingGrant + const ERNonExistingTableGrant + const ERNonUniq + const ERNonUniqTable + const ERNonUpdateableTable + const ERNotAllowedCommand + const ERNotSupportedYet + const ERNullColumnInIndex + const EROperandColumns + const EROptionPreventsStatement + const EROutOfMemory + const EROutOfResources + const EROutOfSortMemory + const ERParseError + const ERPrimaryCantHaveNull + const ERQueryInterrupted + const ERReadOnlyTransaction + const ERRecordFileFull + const ERRegexpError + const ERRequiresPrimaryKey + const ERRowIsReferenced + const ERRowIsReferenced2 + const ERSPDoseNotExist + const ERServerShutdown + const ERSetConstantsOnly + const ERSpecifiedAccessDenied + const ERSubqueryNo1Row + const ERSyntaxError + const ERTableExists + const ERTableMustHaveColumns + const ERTableNameNotAllowedHere + const ERTableNotLocked + const ERTableNotLockedForWrite + const ERTextFileNotReadable + const ERTooBigFieldLength + const ERTooBigRowSize + const ERTooBigSelect + const ERTooBigSet + const ERTooLongIdent + const ERTooLongKey + const ERTooLongString + const ERTooManyDelayedThreads + const ERTooManyFields + const ERTooManyKeyParts + const ERTooManyKeys + const ERTooManyRows + const ERTooManyTables + const ERTooManyUserConnections + const ERTooMuchAutoTimestampCols + const ERTruncatedWrongValue + const ERTruncatedWrongValueForField + const ERUDFExists + const ERUnknownCharacterSet + const ERUnknownCollation + const ERUnknownComError + const ERUnknownError + const ERUnknownProcedure + const ERUnknownSystemVariable + const ERUnknownTable + const ERUnknownTimeZone + const ERUpdateTableUsed + const ERUserLimitReached + const ERVarCantBeRead + const ERVariableIsNotStruct + const ERVitessMaxRowsExceeded + const ERWarnDataOutOfRange + const ERWrongArguments + const ERWrongAutoKey + const ERWrongColumnName + const ERWrongDbName + const ERWrongFKDef + const ERWrongFieldSpec + const ERWrongFieldTerminators + const ERWrongFieldWithGroup + const ERWrongGroupField + const ERWrongKeyColumn + const ERWrongNameForCatalog + const ERWrongNameForIndex + const ERWrongNumberOfColumnsInSelect + const ERWrongOuterJoin + const ERWrongParamCountToProcedure + const ERWrongParametersToProcedure + const ERWrongSubKey + const ERWrongSumSelect + const ERWrongTableName + const ERWrongTypeForVar + const ERWrongUsage + const ERWrongValueCount + const ERWrongValueCountOnRow + const ERWrongValueForVar + const EnumFlag + const ErNoReferencedRow2 + const ErrPacket + const GroupFlag + const IsBooleanFlag + const MaxInt24 + const MaxPacketSize + const MaxUint24 + const MinInt24 + const MultipleKeyFlag + const MysqlClearPassword + const MysqlDialog + const MysqlNativePassword + const NoDefaultValueFlag + const NotNullFlag + const NullValue + const NumFlag + const OKPacket + const OnUpdateNowFlag + const ParseToJSONFlag + const PartKeyFlag + const PreventNullInsertFlag + const PriKeyFlag + const ProtocolVersion + const RefreshGrant + const RefreshHosts + const RefreshLog + const RefreshMaster + const RefreshSlave + const RefreshStatus + const RefreshTables + const RefreshThreads + const SS42000 + const SSAccessDeniedError + const SSBadFieldError + const SSBadNullError + const SSCantDoThisDuringAnTransaction + const SSDataOutOfRange + const SSDataTooLong + const SSDupKey + const SSHandshakeError + const SSLockDeadlock + const SSNoDatabaseSelected + const SSNoTableSelected + const SSServerShutdown + const SSUnknownComError + const SSUnknownSQLState + const ServerMoreResultsExists + const ServerStatusAutocommit + const SetFlag + const TimeFormat + const TimestampFlag + const TypeUnspecified + const UniqueFlag + const UniqueKeyFlag + const UnsignedFlag + const ZerofillFlag + var CharacterSetMap = map[string]uint8 + var Collations = map[string]uint16 + var UnsafeCollations = map[string]bool + func HasAutoIncrementFlag(flag uint) bool + func HasBinaryFlag(flag uint) bool + func HasIsBooleanFlag(flag uint) bool + func HasMultipleKeyFlag(flag uint) bool + func HasNoDefaultValueFlag(flag uint) bool + func HasNotNullFlag(flag uint) bool + func HasOnUpdateNowFlag(flag uint) bool + func HasParseToJSONFlag(flag uint) bool + func HasPreventNullInsertFlag(flag uint) bool + func HasPriKeyFlag(flag uint) bool + func HasTimestampFlag(flag uint) bool + func HasUniKeyFlag(flag uint) bool + func HasUnsignedFlag(flag uint) bool + func HasZerofillFlag(flag uint) bool + func IsNum(typ uint8) bool + func TypeToMySQL(typ FieldType) (mysqlType, flags int64) + type FieldType byte + const FieldTypeBLOB + const FieldTypeBit + const FieldTypeDate + const FieldTypeDateTime + const FieldTypeDecimal + const FieldTypeDouble + const FieldTypeEnum + const FieldTypeFloat + const FieldTypeGeometry + const FieldTypeInt24 + const FieldTypeJSON + const FieldTypeLong + const FieldTypeLongBLOB + const FieldTypeLongLong + const FieldTypeMediumBLOB + const FieldTypeNULL + const FieldTypeNewDate + const FieldTypeNewDecimal + const FieldTypeSet + const FieldTypeShort + const FieldTypeString + const FieldTypeTime + const FieldTypeTimestamp + const FieldTypeTiny + const FieldTypeTinyBLOB + const FieldTypeVarChar + const FieldTypeVarString + const FieldTypeYear + func MySQLToType(mysqlType, flags int64) (FieldType, error) v0.1.0-rc1 Sep 1, 2022