MCPcopy Create free account
hub / github.com/actiontech/dtle / Scan

Method Scan

driver/oracle/extractor/log_miner.go:342–354  ·  view source on GitHub ↗
(value interface{})

Source from the content-addressed store, hash-verified

340type OracleBoolean bool
341
342func (o *OracleBoolean) Scan(value interface{}) error {
343 ns := &sql.NullString{}
344 err := ns.Scan(value)
345 if err != nil {
346 return err
347 }
348 if ns.String == "Y" {
349 *o = true
350 } else {
351 *o = false
352 }
353 return nil
354}
355
356//func (l *LogMinerStream) currentRedoLogSequenceFp() (string, error) {
357// query := fmt.Sprintf(`SELECT GROUP#, THREAD#, SEQUENCE# FROM V$LOG WHERE STATUS = 'CURRENT'`)

Callers 15

mainFunction · 0.80
getChunkDataMethod · 0.80
GetLogFileBySCNMethod · 0.80
GetLogMinerRecordMethod · 0.80
QueryFunction · 0.80
GetTablesMethod · 0.80
GetSchemasMethod · 0.80
GetColumnsMethod · 0.80
GetTableDDLMethod · 0.80
GetCurrentSnapshotSCNMethod · 0.80
selectSqlModeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected