Skip to content

Commit

Permalink
feat: refactor onlyTable param passing
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienaury committed Feb 12, 2024
1 parent 0379402 commit 933fdcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/infra/table/extractor_db2.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ func NewDb2ExtractorFactory() *Db2ExtractorFactory {
type Db2ExtractorFactory struct{}

// New return a Db2 extractor
func (e *Db2ExtractorFactory) New(url string, schema string, onlyTables bool) table.Extractor {
return NewSQLExtractor(url, schema, Db2Dialect{}, onlyTables)
func (e *Db2ExtractorFactory) New(url string, schema string) table.Extractor {
return NewSQLExtractor(url, schema, Db2Dialect{})
}

type Db2Dialect struct{}
Expand Down

0 comments on commit 933fdcf

Please sign in to comment.