Documentation ¶
Index ¶
- func OpenDb(meta *OracleConfig) (*sql.DB, error)
- type OracleConfig
- type OracleDB
- func (o *OracleDB) Close() error
- func (o *OracleDB) CurrentRedoLogSequenceFp() (string, error)
- func (o *OracleDB) GetColumns(schema, table string) ([]string, error)
- func (o *OracleDB) GetCurrentSnapshotSCN() (int64, error)
- func (o *OracleDB) GetSchemas() ([]string, error)
- func (o *OracleDB) GetTableDDL(schema, table string) (string, error)
- func (o *OracleDB) GetTables(schema string) ([]string, error)
- func (o *OracleDB) InitSCN(scn int64) (err error)
- func (o *OracleDB) NLS_DATE_FORMAT() error
- func (o *OracleDB) NewTx(ctx context.Context) (*sql.Tx, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type OracleConfig ¶
type OracleConfig struct { User string Password string Host string Port int ServiceName string Scn int64 }
func (*OracleConfig) ConnectString ¶
func (m *OracleConfig) ConnectString() string
type OracleDB ¶
type OracleDB struct { LogMinerConn *sql.Conn MetaDataConn *sql.Conn SCN int64 // contains filtered or unexported fields }
func (*OracleDB) CurrentRedoLogSequenceFp ¶
func (*OracleDB) GetCurrentSnapshotSCN ¶
func (*OracleDB) GetSchemas ¶
func (*OracleDB) NLS_DATE_FORMAT ¶
reset date/timestamp format
Click to show internal directories.
Click to hide internal directories.