Versions in this module Expand all Collapse all v1 v1.0.1 Dec 22, 2023 Changes in this version + const ANY + const ARRAY + const ARRAY_TYPE_DOUBLE + const ARRAY_TYPE_FLOAT + const ARRAY_TYPE_INTEGER + const ARRAY_TYPE_LONG + const ARRAY_TYPE_SHORT + const AddressRemapKey + const AlwayseAllowCommitKey + const AppNameKey + const AutoCommitKey + const BFILE_PREC + const BFILE_SCALE + const BIGINT + const BIGINT_PREC + const BINARY + const BIT + const BIT_PREC + const BLOB + const BLOB_PREC + const BOOLEAN + const BYTE_MAX + const BYTE_MIN + const BYTE_SIZE + const BatchAllowMaxErrorsKey + const BatchNotOnCallKey + const BatchTypeKey + const BufPrefetchKey + const CHAR + const CLASS + const CLOB + const CLOB_PREC + const CLTN_TYPE_IND_TABLE + const CLTN_TYPE_NST_TABLE + const CLTN_TYPE_VARRAY + const CLUSTER_TYPE_DSC + const CLUSTER_TYPE_DW + const CLUSTER_TYPE_MPP + const CLUSTER_TYPE_NORMAL + const CLUSTER_TYPE_RW + const COLUMN_NAME_LOWER_CASE + const COLUMN_NAME_NATURAL_CASE + const COLUMN_NAME_UPPER_CASE + const COL_MAX_LEN + const COMPATIBLE_MODE_MYSQL + const COMPATIBLE_MODE_ORACLE + const COMPLEX_SCALE + const CURRENCY_PREC + const CURRENCY_SCALE + const CURSOR + const CURSOR_ORACLE + const CipherPathKey + const ClobAsStringKey + const ClusterKey + const ColumnNameCaseKey + const ColumnNameUpperCaseKey + const CommunicationEncryptKey + const CompatibleModeKey + const CompatibleOraKey + const CompressIdKey + const CompressKey + const ConnectTimeoutKey + const ContinueBatchOnErrorKey + const DATE + const DATETIME + const DATETIME2 + const DATETIME2_PREC + const DATETIME2_TZ + const DATETIME2_TZ_PREC + const DATETIME_PREC + const DATETIME_TZ + const DATETIME_TZ_PREC + const DATE_PREC + const DDWORD_SIZE + const DECIMAL + const DEFAULT_ORDERBY + const DEFAULT_ORDER_TYPE + const DEFAULT_PAGE_NUM + const DEFAULT_PAGE_SIZE + const DEFAULT_PORT + const DOUBLE + const DOUBLE_PREC + const DO_SWITCH_OFF + const DO_SWITCH_WHEN_CONN_ERROR + const DO_SWITCH_WHEN_EP_RECOVER + const DT_LEN + const DatabaseProductNameKey + const DbAliveCheckFreqDef + const DbAliveCheckFreqKey + const Dec2DoubleKey + const DirectKey + const Dm_build_1020 + const Dm_build_1021 + const Dm_build_1022 + const Dm_build_1023 + const Dm_build_1024 + const Dm_build_1025 + const Dm_build_1026 + const Dm_build_1027 + const Dm_build_1048 + const Dm_build_1049 + const Dm_build_1050 + const Dm_build_1051 + const Dm_build_1052 + const Dm_build_1053 + const Dm_build_1112 + const Dm_build_1113 + const Dm_build_1114 + const Dm_build_1115 + const Dm_build_1116 + const Dm_build_1117 + const Dm_build_1118 + const Dm_build_1119 + const Dm_build_1120 + const Dm_build_1121 + const Dm_build_1122 + const Dm_build_1123 + const Dm_build_1124 + const Dm_build_1125 + const Dm_build_1126 + const Dm_build_1127 + const Dm_build_1128 + const Dm_build_1129 + const Dm_build_1130 + const Dm_build_1131 + const Dm_build_1132 + const Dm_build_1133 + const Dm_build_1134 + const Dm_build_1135 + const Dm_build_1136 + const Dm_build_1152 + const Dm_build_1164 + const Dm_build_1165 + const Dm_build_1175 + const Dm_build_1202 + const Dm_build_1250 + const Dm_build_1251 + const Dm_build_1252 + const Dm_build_1253 + const Dm_build_1254 + const Dm_build_1255 + const Dm_build_1256 + const Dm_build_1257 + const Dm_build_1258 + const Dm_build_1259 + const Dm_build_1260 + const Dm_build_1261 + const Dm_build_1262 + const Dm_build_1263 + const Dm_build_1264 + const Dm_build_1265 + const Dm_build_1266 + const Dm_build_1267 + const Dm_build_1268 + const Dm_build_1269 + const Dm_build_1270 + const Dm_build_1271 + const Dm_build_1272 + const Dm_build_412 + const Dm_build_413 + const Dm_build_682 + const Dm_build_683 + const Dm_build_684 + const Dm_build_685 + const Dm_build_686 + const Dm_build_687 + const Dm_build_688 + const Dm_build_689 + const Dm_build_690 + const Dm_build_691 + const Dm_build_692 + const Dm_build_693 + const Dm_build_694 + const Dm_build_695 + const Dm_build_696 + const Dm_build_697 + const Dm_build_698 + const Dm_build_699 + const Dm_build_700 + const Dm_build_701 + const Dm_build_702 + const Dm_build_703 + const Dm_build_704 + const Dm_build_705 + const Dm_build_706 + const Dm_build_707 + const Dm_build_708 + const Dm_build_709 + const Dm_build_710 + const Dm_build_711 + const Dm_build_712 + const Dm_build_713 + const Dm_build_714 + const Dm_build_715 + const Dm_build_716 + const Dm_build_717 + const Dm_build_718 + const Dm_build_719 + const Dm_build_720 + const Dm_build_721 + const Dm_build_722 + const Dm_build_723 + const Dm_build_724 + const Dm_build_725 + const Dm_build_726 + const Dm_build_727 + const Dm_build_728 + const Dm_build_729 + const Dm_build_730 + const Dm_build_731 + const Dm_build_732 + const Dm_build_733 + const Dm_build_734 + const Dm_build_735 + const Dm_build_736 + const Dm_build_737 + const Dm_build_738 + const Dm_build_739 + const Dm_build_740 + const Dm_build_741 + const Dm_build_742 + const Dm_build_743 + const Dm_build_744 + const Dm_build_745 + const Dm_build_746 + const Dm_build_747 + const Dm_build_748 + const Dm_build_749 + const Dm_build_750 + const Dm_build_751 + const Dm_build_752 + const Dm_build_753 + const Dm_build_754 + const Dm_build_755 + const Dm_build_756 + const Dm_build_757 + const Dm_build_758 + const Dm_build_759 + const Dm_build_760 + const Dm_build_761 + const Dm_build_762 + const Dm_build_763 + const Dm_build_764 + const Dm_build_765 + const Dm_build_766 + const Dm_build_767 + const Dm_build_768 + const Dm_build_769 + const Dm_build_770 + const Dm_build_771 + const Dm_build_772 + const Dm_build_773 + const Dm_build_774 + const Dm_build_775 + const Dm_build_776 + const Dm_build_777 + const Dm_build_778 + const Dm_build_779 + const Dm_build_780 + const Dm_build_781 + const Dm_build_782 + const Dm_build_783 + const Dm_build_784 + const Dm_build_785 + const Dm_build_786 + const Dm_build_787 + const Dm_build_788 + const Dm_build_789 + const Dm_build_790 + const Dm_build_791 + const Dm_build_792 + const Dm_build_793 + const Dm_build_794 + const Dm_build_795 + const Dm_build_796 + const Dm_build_797 + const Dm_build_798 + const Dm_build_799 + const Dm_build_800 + const Dm_build_801 + const Dm_build_802 + const Dm_build_803 + const Dm_build_804 + const Dm_build_805 + const Dm_build_806 + const Dm_build_807 + const Dm_build_808 + const Dm_build_809 + const Dm_build_810 + const Dm_build_811 + const Dm_build_812 + const Dm_build_813 + const Dm_build_814 + const Dm_build_815 + const Dm_build_917 + const Dm_build_930 + const Dm_build_931 + const Dm_build_932 + const Dm_build_933 + const Dm_build_934 + const Dm_build_935 + const Dm_build_936 + const Dm_build_937 + const Dm_build_938 + const Dm_build_939 + const Dm_build_940 + const DoSwitchKey + const DriverReconnectKey + const ENCODING_EUCKR + const ENCODING_GB18030 + const ENCODING_UTF8 + const EP_STATUS_ERROR + const EP_STATUS_OK + const EXP_MAX + const EXP_MIN + const EnRsCacheKey + const EpSelectorKey + const EscapeProcessKey + const FLAG_NEGTIVE + const FLAG_POSITIVE + const FLAG_ZERO + const FLOAT32_MAX + const FLOAT32_MIN + const FLUSH_SIZE + const HostKey + const IGNORE_TARGET_LENGTH + const IGNORE_TARGET_SCALE + const IGNORE_TARGET_TYPE + const INT + const INT16_MAX + const INT16_MIN + const INT32_MAX + const INT32_MIN + const INT64_MAX + const INT64_MIN + const INT8_MAX + const INT8_MIN + const INTERVAL_DT + const INTERVAL_DT_PREC + const INTERVAL_YM + const INTERVAL_YM_PREC + const INT_PREC + const INVALID_VALUE + const IO_TYPE_IN + const IO_TYPE_INOUT + const IO_TYPE_OUT + const IO_TYPE_UNKNOWN + const IgnoreCaseKey + const IsBdtaRSKey + const IsCompressKey + const KerberosLoginConfPathKey + const KeywordsKey + const LANGUAGE_CN + const LANGUAGE_EN + const LINT64_SIZE + const LOADPREC_DEFAULT + const LOADPREC_MAX + const LOB_FLAG_BYTE + const LOB_FLAG_CHAR + const LOB_IN_ROW + const LOB_OFF_ROW + const LOCAL_DATETIME_SCALE_MASK + const LOCAL_TIME_ZONE_SCALE_MASK + const LOGIN_MODE_NORMAL_FIRST + const LOGIN_MODE_PRIMARY_FIRST + const LOGIN_MODE_PRIMARY_ONLY + const LOGIN_MODE_STANDBY_FIRST + const LOGIN_MODE_STANDBY_ONLY + const LOG_ALL + const LOG_DEBUG + const LOG_ERROR + const LOG_INFO + const LOG_OFF + const LOG_SQL + const LOG_WARN + const LanguageKey + const LobModeKey + const LocaleDef + const LogBufferPoolSizeKey + const LogBufferSizeDef + const LogBufferSizeKey + const LogDirKey + const LogFlushFreqDef + const LogFlushFreqKey + const LogFlushQueueSizeDef + const LogFlusherQueueSizeKey + const LogLevelDef + const LogLevelKey + const LoginCertificateKey + const LoginDscCtrlKey + const LoginEncryptKey + const LoginModeKey + const LoginPrimary + const LoginStatusKey + const MASK_BFILE + const MASK_LOCAL_DATETIME + const MASK_ORACLE_DATE + const MASK_ORACLE_FLOAT + const MAX_FILE_SIZE + const MaxRowsKey + const MppLocalKey + const NANOSECOND_DIGITS + const NANOSECOND_POW + const NBLOB_EX_HEAD_COL_ID + const NBLOB_EX_HEAD_FPA_FILEID + const NBLOB_EX_HEAD_FPA_GRPID + const NBLOB_EX_HEAD_FPA_PAGENO + const NBLOB_EX_HEAD_ROW_ID + const NBLOB_EX_HEAD_SIZE + const NBLOB_EX_HEAD_TABLE_ID + const NBLOB_HEAD_BLOBID + const NBLOB_HEAD_BLOB_LEN + const NBLOB_HEAD_IN_ROW_FLAG + const NBLOB_HEAD_OUTROW_FILEID + const NBLOB_HEAD_OUTROW_GROUPID + const NBLOB_HEAD_OUTROW_PAGENO + const NBLOB_INROW_HEAD_SIZE + const NBLOB_OUTROW_HEAD_SIZE + const NULL + const NULL_PREC + const NUM_NEGTIVE + const NUM_POSITIVE + const OBJ_BLOB_MAGIC + const OFFSET_DAY + const OFFSET_HOUR + const OFFSET_MINUTE + const OFFSET_MONTH + const OFFSET_NANOSECOND + const OFFSET_SECOND + const OFFSET_TIMEZONE + const OFFSET_YEAR + const ORACLE_DATE_SCALE_MASK + const ORACLE_FLOAT_SCALE_MASK + const OsAuthTypeKey + const OsNameKey + const PARAM_COUNT_LIMIT + const PLTYPE_RECORD + const PROP_NAME_DATASOURCE_ID + const PROP_NAME_FLUSH_FREQ + const PROP_NAME_PAGE_COUNT + const PROP_NAME_PAGE_NUM + const PROP_NAME_PAGE_SIZE + const PROP_NAME_SEARCH + const PROP_NAME_SORT + const PROP_NAME_SORT_FIELD + const PROP_NAME_SORT_TYPE + const PROP_NAME_SQL_ID + const PROP_NAME_TOTAL_ROW_COUNT + const ParamDataEnum_Null + const ParamDataEnum_OFF_ROW + const PasswordKey + const PortKey + const PrimaryKey + const QUA_D + const QUA_DH + const QUA_DHM + const QUA_DHMS + const QUA_H + const QUA_HM + const QUA_HMS + const QUA_M + const QUA_MO + const QUA_MS + const QUA_S + const QUA_Y + const QUA_YM + const READ_LEN + const READ_MAX_SIZE + const REAL + const REAL_PREC + const RECORD + const RESULT_CODE_ERROR + const RESULT_CODE_SUCCESS + const RowPrefetchKey + const RsCacheSizeKey + const RsRefreshFreqKey + const RwAutoDistributeKey + const RwHAKey + const RwIgnoreSqlKey + const RwPercentKey + const RwSeparateKey + const RwStandbyKey + const RwStandbyRecoverTimeKey + const SARRAY + const SECDPREC_DEFAULT + const SECDPREC_MAX + const SERVER_MODE_NORMAL + const SERVER_MODE_PRIMARY + const SERVER_MODE_STANDBY + const SERVER_STATUS_MOUNT + const SERVER_STATUS_OPEN + const SERVER_STATUS_SUSPEND + const SMALLINT + const SMALLINT_PREC + const SORT_MOUNT + const SORT_NORMAL + const SORT_OPEN + const SORT_PRIMARY + const SORT_SERVER_MODE_INVALID + const SORT_SERVER_NOT_ALIVE + const SORT_STANDBY + const SORT_SUSPEND + const SORT_UNKNOWN + const SQL_GET_DSC_EP_SITE + const SQL_SELECT_STANDBY + const SQL_SELECT_STANDBY2 + const STAR + const STAR_ALL + const STATUS_VALID_TIME + const STAT_SQL_REMOVE_LATEST + const STAT_SQL_REMOVE_OLDEST + const SchemaKey + const Seconds_1900_1970 + const SessionTimeoutKey + const SocketTimeoutKey + const SslCertPathKey + const SslFilesPathKey + const SslKeyPathKey + const StatDirKey + const StatEnableDef + const StatEnableKey + const StatFlushFreqDef + const StatFlushFreqKey + const StatHighFreqSqlCountDef + const StatHighFreqSqlCountKey + const StatSlowSqlCountDef + const StatSlowSqlCountKey + const StatSqlMaxCountDef + const StatSqlMaxCountKey + const StatSqlRemoveModeDef + const StatSqlRemoveModeKey + const StmtPoolSizeKey + const SwitchIntervalKey + const SwitchTimesKey + const TIME + const TIME_PREC + const TIME_TZ + const TIME_TZ_PREC + const TINYINT + const TINYINT_PREC + const TYPE + const TYPE_FLAG_EXACT + const TYPE_FLAG_RECOMMEND + const TYPE_FLAG_UNKNOWN + const TYPE_HEAD_FIRST + const TYPE_REF + const TYPE_WELL_DISTRIBUTE + const TimeZoneKey + const UINT16_MAX + const UINT16_MIN + const UINT32_MAX + const UINT32_MIN + const UINT64_MAX + const UINT64_MIN + const UKeyNameKey + const UKeyPinKey + const ULINT_SIZE + const UNKNOWN + const URL_DATASOURCE + const URL_DATASOURCE_DETAIL + const URL_SQL + const URL_SQL_DETAIL + const USINT_SIZE + const UrlKey + const UserKey + const UserRemapKey + const VARBINARY + const VARBINARY_PREC + const VARCHAR + const VARCHAR2 + const VARCHAR_PREC + const XDEC_INT32 + const XDEC_INT64 + const XDEC_MAX_PREC + const XDEC_SIZE + var AccessLogger = &Logger + var ConnLogger = &Logger + var DB2G db2g + var DSN_INVALID_SCHEMA = newDmError(9001, "error.dsn.invalidSchema") + var DbAliveCheckFreq = DbAliveCheckFreqDef + var Dm_build_1331 = &dm_build_1330 + var Dm_build_816 = [8][256]uint32 + var ECGO_BATCH_ERROR = newDmError(6093, "error.batchError") + var ECGO_COMMIT_IN_AUTOCOMMIT_MODE = newDmError(6039, "errorCommitInAutoCommitMode") + var ECGO_COMMUNITION_ERROR = newDmError(6001, "error.communicationError") + var ECGO_CONNECTION_CLOSED = newDmError(6060, "error.error.connectionClosedOrNotBuild") + var ECGO_CONNECTION_SWITCHED = newDmError(20000, "error.connectionSwitched") + var ECGO_CONNECTION_SWITCH_FAILED = newDmError(20001, "error.connectionSwitchFailed") + var ECGO_DATA_CONVERTION_ERROR = newDmError(6007, "error.dataConvertionError") + var ECGO_DATA_OVERFLOW = newDmError(-6102, "error.dataOverflow") + var ECGO_DATA_TOO_LONG = newDmError(6092, "error.dataTooLong") + var ECGO_DATETIME_OVERFLOW = newDmError(-6112, "error.datetimeOverflow") + var ECGO_ERROR_SERVER_VERSION = newDmError(6074, "error.serverVersion") + var ECGO_FATAL_ERROR = newDmError(20004, "error.fatalError") + var ECGO_INIT_SSL_FAILED = newDmError(20002, "error.SSLInitFailed") + var ECGO_INTERVAL_OVERFLOW = newDmError(6066, "error.intervalValueOverflow") + var ECGO_INVALID_ARRAY_LEN = newDmError(6082, "error.invalidArrayLen") + var ECGO_INVALID_BFILE_STR = newDmError(6070, "error.invalidBFile") + var ECGO_INVALID_CIPHER = newDmError(6069, "error.invalidCipher") + var ECGO_INVALID_COLUMN_TYPE = newDmError(6016, "error.invalidColumnType") + var ECGO_INVALID_COMPLEX_TYPE_NAME = newDmError(6079, "error.invalidComplexTypeName") + var ECGO_INVALID_CONN = newDmError(9008, "error.invalidConn") + var ECGO_INVALID_DATETIME_FORMAT = newDmError(6015, "error.invalidDateTimeFormat") + var ECGO_INVALID_DATETIME_VALUE = newDmError(6103, "error.invalidDateTimeValue") + var ECGO_INVALID_HEX = newDmError(6068, "error.invalidHex") + var ECGO_INVALID_LENGTH_OR_OFFSET = newDmError(6057, "error.invalidLenOrOffset") + var ECGO_INVALID_OBJ_BLOB = newDmError(6081, "error.invalidObjBlob") + var ECGO_INVALID_PARAMETER_VALUE = newDmError(6036, "error.invalidParamterValue") + var ECGO_INVALID_SEQUENCE_NUMBER = newDmError(6032, "error.invalidSequenceNumber") + var ECGO_INVALID_SERVER_MODE = newDmError(6091, "error.invalidServerMode") + var ECGO_INVALID_SQL_TYPE = newDmError(6009, "error.invalidSqlType") + var ECGO_INVALID_TIME_INTERVAL = newDmError(6005, "error.invalidTimeInterval") + var ECGO_INVALID_TRAN_ISOLATION = newDmError(6038, "error.invalidTranIsolation") + var ECGO_IS_NULL = newDmError(9012, "error.isNull") + var ECGO_LOB_FREED = newDmError(20003, "error.LobDataHasFreed") + var ECGO_MSG_CHECK_ERROR = newDmError(6002, "error.msgCheckError") + var ECGO_MSG_TOO_LONG = newDmError(6101, "error.msgTooLong") + var ECGO_NOT_EXEC_SQL = newDmError(9006, "error.notExecSQL") + var ECGO_NOT_QUERY_SQL = newDmError(9005, "error.notQuerySQL") + var ECGO_OSAUTH_ERROR = newDmError(6073, "error.osauthError") + var ECGO_PARAM_COUNT_LIMIT = newDmError(6056, "error.ParamCountLimit") + var ECGO_PASSWORD_TOO_LONG = newDmError(6076, "error.passwordTooLong") + var ECGO_RESULTSET_CLOSED = newDmError(6034, "errorResultSetColsed") + var ECGO_RESULTSET_IS_READ_ONLY = newDmError(6029, "error.resultsetInReadOnlyStatus") + var ECGO_ROLLBACK_IN_AUTOCOMMIT_MODE = newDmError(6040, "errorRollbackInAutoCommitMode") + var ECGO_STATEMENT_HANDLE_CLOSED = newDmError(6035, "errorStatementHandleClosed") + var ECGO_STORE_IN_NIL_POINTER = newDmError(9011, "error.storeInNilPointer") + var ECGO_STRING_CUT = newDmError(6067, "error.stringCut") + var ECGO_STRUCT_MEM_NOT_MATCH = newDmError(6080, "error.structMemNotMatch") + var ECGO_UNBINDED_PARAMETER = newDmError(6054, "error.unbindedParameter") + var ECGO_UNKOWN_NETWORK = newDmError(9007, "error.unkownNetWork") + var ECGO_UNSUPPORTED_INPARAM_TYPE = newDmError(9009, "error.unsupportedInparamType") + var ECGO_UNSUPPORTED_OUTPARAM_TYPE = newDmError(9010, "error.unsupportedOutparamType") + var ECGO_UNSUPPORTED_TYPE = newDmError(6006, "error.unsupportedType") + var ECGO_USERNAME_TOO_LONG = newDmError(6075, "error.usernameTooLong") + var EC_BP_WITH_ERROR = newDmError(121, "warning.bpWithErr") + var EC_RN_EXCEED_ROWSET_SIZE = newDmError(-7036, "") + var G2DB g2db + var GlobalProperties = NewProperties() + var INVALID_PARAMETER_NUMBER = newDmError(9003, "error.invalidParameterNumber") + var Locale = LocaleDef + var LogBufferSize = LogBufferSizeDef + var LogDir = LogDirDef + var LogDirDef = os.Getwd() + var LogFilterLogger = &Logger + var LogFlushFreq = LogFlushFreqDef + var LogFlushQueueSize = LogFlushQueueSizeDef + var LogLevel = LogLevelDef + var RWUtil = rwUtil + var SQLName sqlName + var ServerGroupMap = make(map[string]*epGroup) + var StatDir = StatDirDef + var StatDirDef = os.Getwd() + var StatEnable = StatEnableDef + var StatFlushFreq = StatFlushFreqDef + var StatHighFreqSqlCount = StatHighFreqSqlCountDef + var StatSlowSqlCount = StatSlowSqlCountDef + var StatSqlMaxCount = StatSqlMaxCountDef + var StatSqlRemoveMode = StatSqlRemoveModeDef + var THIRD_PART_CIPHER_INIT_FAILED = newDmError(9004, "error.initThirdPartCipherFailed") + var UNSUPPORTED_SCAN = newDmError(9002, "error.unsupported.scan") + func Compress(srcBuffer *Dm_build_78, offset int, length int, compressID int) ([]byte, error) + func GzlibCompress(srcBuffer *Dm_build_78, offset int, length int) ([]byte, error) + func GzlibUncompress(srcBytes []byte) ([]byte, error) + func IsSupportedCharset(charset string) bool + func NewExceInfo() *execRetInfo + func NewSqlStat(sql string) *sqlStat + func ParseLogLevel(props *Properties) int + func SetServerGroupProperties(props *Properties, key string, value string) bool + func UnCompress(srcBytes []byte, compressID int) ([]byte, error) + type ArrayDescriptor struct + type DmArray struct + Valid bool + func NewDmArray(typeName string, elements []interface{}) *DmArray + func (array DmArray) Value() (driver.Value, error) + func (da *DmArray) GetArray() (interface{}, error) + func (da *DmArray) GetBaseTypeName() (string, error) + func (da *DmArray) GetDoubleArray(index int64, count int) ([]float64, error) + func (da *DmArray) GetFloatArray(index int64, count int) ([]float32, error) + func (da *DmArray) GetInt16Array(index int64, count int) ([]int16, error) + func (da *DmArray) GetInt64Array(index int64, count int) ([]int64, error) + func (da *DmArray) GetIntArray(index int64, count int) ([]int, error) + func (da *DmArray) GetObjArray(index int64, count int) (interface{}, error) + func (dest *DmArray) Scan(src interface{}) error + type DmBlob struct + func NewBlob(value []byte) *DmBlob + func (blob *DmBlob) Read(dest []byte) (n int, err error) + func (blob *DmBlob) ReadAt(pos int, dest []byte) (n int, err error) + func (blob *DmBlob) Truncate(length int64) error + func (blob *DmBlob) Write(pos int, src []byte) (n int, err error) + func (blob DmBlob) Value() (driver.Value, error) + func (d *DmBlob) GormDataType() string + func (dest *DmBlob) Scan(src interface{}) error + func (lob *DmBlob) GetLength() (int64, error) + type DmClob struct + func NewClob(value string) *DmClob + func (clob *DmClob) ReadString(pos int, length int) (result string, err error) + func (clob *DmClob) Truncate(length int64) error + func (clob *DmClob) WriteString(pos int, s string) (n int, err error) + func (clob DmClob) Value() (driver.Value, error) + func (d *DmClob) GormDataType() string + func (dest *DmClob) Scan(src interface{}) error + func (lob *DmClob) GetLength() (int64, error) + type DmConnection struct + Access *dm_build_414 + BackslashEscape bool + ConstParaOpt bool + DDLAutoCommit bool + DbName string + DbTimezone int16 + Execute2 bool + FailedAttempts int32 + FormatDate string + FormatTime string + FormatTimeTZ string + FormatTimestamp string + FormatTimestampTZ string + GlobalServerSeries int + GraceTimeRemainder int32 + Guid string + InstanceName string + IsoLevel int32 + LastLoginIP string + LastLoginTime string + LifeTimeRemainder int16 + LobEmptyCompOrcl bool + Local bool + LoginWarningID int32 + Malini2 bool + MaxRowSize int32 + MsgVersion int32 + NewLobFlag bool + OracleDateLanguage byte + ReadOnly bool + Schema string + ServerVersion string + SessionID int64 + StandbyCount int32 + StandbyHost string + StandbyPort int32 + SvrMode int32 + SvrStat int32 + TrxStatus int32 + func (conn *DmConnection) CompatibleMysql() bool + func (conn *DmConnection) CompatibleOracle() bool + func (dc *DmConnection) Begin() (driver.Tx, error) + func (dc *DmConnection) BeginTx(ctx context.Context, opts driver.TxOptions) (driver.Tx, error) + func (dc *DmConnection) CheckNamedValue(nv *driver.NamedValue) error + func (dc *DmConnection) Close() error + func (dc *DmConnection) Commit() error + func (dc *DmConnection) Exec(query string, args []driver.Value) (driver.Result, error) + func (dc *DmConnection) ExecContext(ctx context.Context, query string, args []driver.NamedValue) (driver.Result, error) + func (dc *DmConnection) Ping(ctx context.Context) error + func (dc *DmConnection) Prepare(query string) (driver.Stmt, error) + func (dc *DmConnection) PrepareContext(ctx context.Context, query string) (driver.Stmt, error) + func (dc *DmConnection) Query(query string, args []driver.Value) (driver.Rows, error) + func (dc *DmConnection) QueryContext(ctx context.Context, query string, args []driver.NamedValue) (driver.Rows, error) + func (dc *DmConnection) ResetSession(ctx context.Context) error + func (dc *DmConnection) Rollback() error + type DmConnector struct + func (c *DmConnector) BuildDSN() string + func (c *DmConnector) Connect(ctx context.Context) (driver.Conn, error) + func (c *DmConnector) Driver() driver.Driver + type DmDecimal struct + Valid bool + func NewDecimalFromBigFloat(bigFloat *big.Float) (*DmDecimal, error) + func NewDecimalFromBigInt(bigInt *big.Int) (*DmDecimal, error) + func NewDecimalFromFloat64(x float64) (*DmDecimal, error) + func NewDecimalFromInt64(x int64) (*DmDecimal, error) + func NewDecimalFromString(s string) (*DmDecimal, error) + func (d *DmDecimal) GormDataType() string + func (d DmDecimal) Sign() int + func (d DmDecimal) String() string + func (d DmDecimal) ToBigFloat() *big.Float + func (d DmDecimal) ToBigInt() *big.Int + func (d DmDecimal) ToFloat64() float64 + func (d DmDecimal) ToInt64() int64 + func (d DmDecimal) Value() (driver.Value, error) + func (dest *DmDecimal) Scan(src interface{}) error + type DmDriver struct + func (d *DmDriver) Open(dsn string) (driver.Conn, error) + func (d *DmDriver) OpenConnector(dsn string) (driver.Connector, error) + type DmError struct + ErrCode int32 + ErrText string + func (dmError *DmError) Error() string + func (dmError *DmError) FormatStack() string + type DmIntervalDT struct + Valid bool + func NewDmIntervalDTByString(str string) (dt *DmIntervalDT, err error) + func (d *DmIntervalDT) GormDataType() string + func (dest *DmIntervalDT) Scan(src interface{}) error + func (dt *DmIntervalDT) GetDTType() byte + func (dt *DmIntervalDT) GetDay() int + func (dt *DmIntervalDT) GetHour() int + func (dt *DmIntervalDT) GetMinute() int + func (dt *DmIntervalDT) GetMsec() int + func (dt *DmIntervalDT) GetSecond() int + func (dt *DmIntervalDT) String() string + func (dt DmIntervalDT) Value() (driver.Value, error) + type DmIntervalYM struct + Valid bool + func NewDmIntervalYMByString(str string) (ym *DmIntervalYM, err error) + func (d *DmIntervalYM) GormDataType() string + func (dest *DmIntervalYM) Scan(src interface{}) error + func (ym *DmIntervalYM) GetMonth() int + func (ym *DmIntervalYM) GetYMType() byte + func (ym *DmIntervalYM) GetYear() int + func (ym *DmIntervalYM) String() string + func (ym DmIntervalYM) Value() (driver.Value, error) + type DmResult struct + func (r *DmResult) LastInsertId() (int64, error) + func (r *DmResult) RowsAffected() (int64, error) + type DmRows struct + CurrentRows *innerRows + func (dest *DmRows) Scan(src interface{}) error + func (r *DmRows) Close() error + func (r *DmRows) ColumnTypeDatabaseTypeName(index int) string + func (r *DmRows) ColumnTypeLength(index int) (length int64, ok bool) + func (r *DmRows) ColumnTypeNullable(index int) (nullable, ok bool) + func (r *DmRows) ColumnTypePrecisionScale(index int) (precision, scale int64, ok bool) + func (r *DmRows) ColumnTypeScanType(index int) reflect.Type + func (r *DmRows) Columns() []string + func (r *DmRows) HasNextResultSet() bool + func (r *DmRows) Next(dest []driver.Value) error + func (r *DmRows) NextResultSet() error + type DmStatement struct + func NewDmStmt(conn *DmConnection, sql string) (*DmStatement, error) + func (s *DmStatement) CheckNamedValue(nv *driver.NamedValue) error + func (s *DmStatement) Close() error + func (s *DmStatement) Exec(args []driver.Value) (driver.Result, error) + func (s *DmStatement) ExecContext(ctx context.Context, args []driver.NamedValue) (driver.Result, error) + func (s *DmStatement) NumInput() int + func (s *DmStatement) Query(args []driver.Value) (driver.Rows, error) + func (s *DmStatement) QueryContext(ctx context.Context, args []driver.NamedValue) (driver.Rows, error) + type DmStruct struct + Valid bool + func NewDmStruct(typeName string, elements []interface{}) *DmStruct + func (dest *DmStruct) Scan(src interface{}) error + func (ds *DmStruct) GetAttributes() ([]interface{}, error) + func (ds *DmStruct) GetSQLTypeName() (string, error) + func (dt DmStruct) Value() (driver.Value, error) + type DmTimestamp struct + Valid bool + func NewDmTimestampFromString(str string) (*DmTimestamp, error) + func NewDmTimestampFromTime(time time.Time) *DmTimestamp + func (d *DmTimestamp) GormDataType() string + func (dest *DmTimestamp) Scan(src interface{}) error + func (dmTimestamp *DmTimestamp) CompareTo(ts DmTimestamp) int + func (dmTimestamp *DmTimestamp) GetDt() []int + func (dmTimestamp *DmTimestamp) String() string + func (dmTimestamp *DmTimestamp) ToTime() time.Time + func (dmTimestamp DmTimestamp) Value() (driver.Value, error) + type Dm_build_0 struct + func Dm_build_4() *Dm_build_0 + func (dm_build_14 *Dm_build_0) Dm_build_13(dm_build_15 []byte, dm_build_16 int, dm_build_17 int) int + func (dm_build_21 *Dm_build_0) Dm_build_20(dm_build_22 io.Writer, dm_build_23 int) int + func (dm_build_27 *Dm_build_0) Dm_build_26(dm_build_28 []byte, dm_build_29 int, dm_build_30 int) + func (dm_build_38 *Dm_build_0) Dm_build_37(dm_build_39 *Dm_build_0) + func (dm_build_48 *Dm_build_0) Dm_build_47() []byte + func (dm_build_6 *Dm_build_0) Dm_build_5() int + func (dm_build_8 *Dm_build_0) Dm_build_7(dm_build_9 *Dm_build_78, dm_build_10 int) int + type Dm_build_1591 struct + func Dm_build_1603(dm_build_1604 io.Reader, dm_build_1605 transform.Transformer, ...) *Dm_build_1591 + func (dm_build_1609 *Dm_build_1591) Read(dm_build_1610 []byte) (int, error) + type Dm_build_78 struct + func Dm_build_81(dm_build_82 int) *Dm_build_78 + func Dm_build_83(dm_build_84 []byte) *Dm_build_78 + func (dm_build_101 *Dm_build_78) Dm_build_100(dm_build_102 bool) int + func (dm_build_104 *Dm_build_78) Dm_build_103(dm_build_105 int, dm_build_106 bool, dm_build_107 bool) *Dm_build_78 + func (dm_build_109 *Dm_build_78) Dm_build_108(dm_build_110 io.Reader, dm_build_111 int) (int, error) + func (dm_build_115 *Dm_build_78) Dm_build_114(dm_build_116 io.Writer) (*Dm_build_78, error) + func (dm_build_118 *Dm_build_78) Dm_build_117(dm_build_119 bool) int + func (dm_build_122 *Dm_build_78) Dm_build_121(dm_build_123 byte) int + func (dm_build_126 *Dm_build_78) Dm_build_125(dm_build_127 int8) int + func (dm_build_130 *Dm_build_78) Dm_build_129(dm_build_131 int16) int + func (dm_build_134 *Dm_build_78) Dm_build_133(dm_build_135 int32) int + func (dm_build_138 *Dm_build_78) Dm_build_137(dm_build_139 uint8) int + func (dm_build_142 *Dm_build_78) Dm_build_141(dm_build_143 uint16) int + func (dm_build_146 *Dm_build_78) Dm_build_145(dm_build_147 uint32) int + func (dm_build_150 *Dm_build_78) Dm_build_149(dm_build_151 uint64) int + func (dm_build_154 *Dm_build_78) Dm_build_153(dm_build_155 float32) int + func (dm_build_158 *Dm_build_78) Dm_build_157(dm_build_159 float64) int + func (dm_build_162 *Dm_build_78) Dm_build_161(dm_build_163 []byte) int + func (dm_build_166 *Dm_build_78) Dm_build_165(dm_build_167 []byte) int + func (dm_build_169 *Dm_build_78) Dm_build_168(dm_build_170 []byte) int + func (dm_build_172 *Dm_build_78) Dm_build_171(dm_build_173 []byte) int + func (dm_build_175 *Dm_build_78) Dm_build_174(dm_build_176 []byte) int + func (dm_build_178 *Dm_build_78) Dm_build_177(dm_build_179 string, dm_build_180 string, dm_build_181 *DmConnection) int + func (dm_build_184 *Dm_build_78) Dm_build_183(dm_build_185 string, dm_build_186 string, dm_build_187 *DmConnection) int + func (dm_build_190 *Dm_build_78) Dm_build_189(dm_build_191 string, dm_build_192 string, dm_build_193 *DmConnection) int + func (dm_build_196 *Dm_build_78) Dm_build_195(dm_build_197 string, dm_build_198 string, dm_build_199 *DmConnection) int + func (dm_build_202 *Dm_build_78) Dm_build_201() byte + func (dm_build_205 *Dm_build_78) Dm_build_204() int16 + func (dm_build_208 *Dm_build_78) Dm_build_207() int32 + func (dm_build_211 *Dm_build_78) Dm_build_210() int64 + func (dm_build_214 *Dm_build_78) Dm_build_213() float32 + func (dm_build_217 *Dm_build_78) Dm_build_216() float64 + func (dm_build_220 *Dm_build_78) Dm_build_219() uint8 + func (dm_build_223 *Dm_build_78) Dm_build_222() uint16 + func (dm_build_226 *Dm_build_78) Dm_build_225() uint32 + func (dm_build_229 *Dm_build_78) Dm_build_228(dm_build_230 int) []byte + func (dm_build_233 *Dm_build_78) Dm_build_232() []byte + func (dm_build_235 *Dm_build_78) Dm_build_234() []byte + func (dm_build_237 *Dm_build_78) Dm_build_236() []byte + func (dm_build_239 *Dm_build_78) Dm_build_238(dm_build_240 int) []byte + func (dm_build_242 *Dm_build_78) Dm_build_241() []byte + func (dm_build_245 *Dm_build_78) Dm_build_244(dm_build_246 int, dm_build_247 string, dm_build_248 *DmConnection) string + func (dm_build_250 *Dm_build_78) Dm_build_249(dm_build_251 string, dm_build_252 *DmConnection) string + func (dm_build_254 *Dm_build_78) Dm_build_253(dm_build_255 string, dm_build_256 *DmConnection) string + func (dm_build_258 *Dm_build_78) Dm_build_257(dm_build_259 string, dm_build_260 *DmConnection) string + func (dm_build_262 *Dm_build_78) Dm_build_261(dm_build_263 string, dm_build_264 *DmConnection) string + func (dm_build_266 *Dm_build_78) Dm_build_265(dm_build_267 int, dm_build_268 byte) int + func (dm_build_270 *Dm_build_78) Dm_build_269(dm_build_271 int, dm_build_272 int16) int + func (dm_build_274 *Dm_build_78) Dm_build_273(dm_build_275 int, dm_build_276 int32) int + func (dm_build_278 *Dm_build_78) Dm_build_277(dm_build_279 int, dm_build_280 int64) int + func (dm_build_282 *Dm_build_78) Dm_build_281(dm_build_283 int, dm_build_284 float32) int + func (dm_build_286 *Dm_build_78) Dm_build_285(dm_build_287 int, dm_build_288 float64) int + func (dm_build_290 *Dm_build_78) Dm_build_289(dm_build_291 int, dm_build_292 uint8) int + func (dm_build_294 *Dm_build_78) Dm_build_293(dm_build_295 int, dm_build_296 uint16) int + func (dm_build_298 *Dm_build_78) Dm_build_297(dm_build_299 int, dm_build_300 uint32) int + func (dm_build_302 *Dm_build_78) Dm_build_301(dm_build_303 int, dm_build_304 []byte) int + func (dm_build_306 *Dm_build_78) Dm_build_305(dm_build_307 int, dm_build_308 []byte) int + func (dm_build_310 *Dm_build_78) Dm_build_309(dm_build_311 int, dm_build_312 []byte) int + func (dm_build_314 *Dm_build_78) Dm_build_313(dm_build_315 int, dm_build_316 []byte) int + func (dm_build_318 *Dm_build_78) Dm_build_317(dm_build_319 int, dm_build_320 []byte) int + func (dm_build_322 *Dm_build_78) Dm_build_321(dm_build_323 int, dm_build_324 string, dm_build_325 string, ...) int + func (dm_build_328 *Dm_build_78) Dm_build_327(dm_build_329 int, dm_build_330 string, dm_build_331 string, ...) int + func (dm_build_334 *Dm_build_78) Dm_build_333(dm_build_335 int, dm_build_336 string, dm_build_337 string, ...) int + func (dm_build_340 *Dm_build_78) Dm_build_339(dm_build_341 int, dm_build_342 string, dm_build_343 string, ...) int + func (dm_build_346 *Dm_build_78) Dm_build_345(dm_build_347 int) byte + func (dm_build_349 *Dm_build_78) Dm_build_348(dm_build_350 int) int16 + func (dm_build_352 *Dm_build_78) Dm_build_351(dm_build_353 int) int32 + func (dm_build_355 *Dm_build_78) Dm_build_354(dm_build_356 int) int64 + func (dm_build_358 *Dm_build_78) Dm_build_357(dm_build_359 int) float32 + func (dm_build_361 *Dm_build_78) Dm_build_360(dm_build_362 int) float64 + func (dm_build_364 *Dm_build_78) Dm_build_363(dm_build_365 int) uint8 + func (dm_build_367 *Dm_build_78) Dm_build_366(dm_build_368 int) uint16 + func (dm_build_370 *Dm_build_78) Dm_build_369(dm_build_371 int) uint32 + func (dm_build_373 *Dm_build_78) Dm_build_372(dm_build_374 int, dm_build_375 int) []byte + func (dm_build_377 *Dm_build_78) Dm_build_376(dm_build_378 int) []byte + func (dm_build_381 *Dm_build_78) Dm_build_380(dm_build_382 int) []byte + func (dm_build_385 *Dm_build_78) Dm_build_384(dm_build_386 int) []byte + func (dm_build_389 *Dm_build_78) Dm_build_388(dm_build_390 int) []byte + func (dm_build_393 *Dm_build_78) Dm_build_392(dm_build_394 int, dm_build_395 string, dm_build_396 *DmConnection) string + func (dm_build_398 *Dm_build_78) Dm_build_397(dm_build_399 int, dm_build_400 string, dm_build_401 *DmConnection) string + func (dm_build_403 *Dm_build_78) Dm_build_402(dm_build_404 int, dm_build_405 string, dm_build_406 *DmConnection) string + func (dm_build_408 *Dm_build_78) Dm_build_407(dm_build_409 int, dm_build_410 string, dm_build_411 *DmConnection) string + func (dm_build_91 *Dm_build_78) Dm_build_90() int + func (dm_build_93 *Dm_build_78) Dm_build_92(dm_build_94 int) *Dm_build_78 + func (dm_build_96 *Dm_build_78) Dm_build_95(dm_build_97 int) *Dm_build_78 + func (dm_build_99 *Dm_build_78) Dm_build_98() int + type Dm_build_918 struct + type ExecuteTypeEnum int + const Execute + const ExecuteQuery + const ExecuteUpdate + type GoStat struct + type IDGenerator int64 + type InterfaceTypeData interface + type LogRecord struct + func (record *LogRecord) GetError() error + func (record *LogRecord) GetReturnValue() interface{} + func (record *LogRecord) GetSql() string + func (record *LogRecord) GetUsedTime() time.Duration + func (record *LogRecord) Reset() *LogRecord + func (record *LogRecord) Set(source interface{}, method string, params ...interface{}) + func (record *LogRecord) SetError(err error) + func (record *LogRecord) SetReturnValue(retValue interface{}) + func (record *LogRecord) SetSql(sql string, logSql bool) + func (record *LogRecord) SetUsedTime(usedTime time.Duration) + func (record *LogRecord) ToString() string + type Logger struct + func (logger Logger) Debug(msg string) + func (logger Logger) DebugWithErr(msg string, err error) + func (logger Logger) ErrorWithErr(msg string, err error) + func (logger Logger) Info(msg string) + func (logger Logger) IsDebugEnabled() bool + func (logger Logger) IsErrorEnabled() bool + func (logger Logger) IsInfoEnabled() bool + func (logger Logger) IsSqlEnabled() bool + func (logger Logger) IsWarnEnabled() bool + func (logger Logger) Sql(msg string) + func (logger Logger) Warn(msg string) + type OptParameter struct + func (parameter *OptParameter) String() string + type Properties struct + func NewProperties() *Properties + func (g *Properties) GetBool(key string, def bool) bool + func (g *Properties) GetInt(key string, def int, min int, max int) int + func (g *Properties) GetString(key, def string) string + func (g *Properties) GetStringArray(key string, def []string) []string + func (g *Properties) GetTrimString(key string, def string) string + func (g *Properties) IsNil() bool + func (g *Properties) Len() int + func (g *Properties) Set(key, value string) + func (g *Properties) SetDiffProperties(p *Properties) + func (g *Properties) SetIfNotExist(key, value string) + func (g *Properties) SetProperties(p *Properties) + type RWSiteEnum int + const ANYSITE + const PRIMARY + const STANDBY + type SqlStatValue struct + type StatReader struct + type StructDescriptor struct + type TypeData struct + var TypeDataSV TypeData + type TypeDescriptor struct