Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jimsmart committed Apr 12, 2021
1 parent 97bbc51 commit 1ed2d24
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions dialect_oracle.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import (
"database/sql"
)

// TODO(js) Are we querying the correct tables? See https://dba.stackexchange.com/questions/153436/i-want-to-see-all-tables-of-db-but-no-system-tables

const oracleAllColumns = `SELECT * FROM %s WHERE 1=0`

const oracleTableNamesWithSchema = `
Expand Down
2 changes: 2 additions & 0 deletions dialect_sqlite.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import (
"database/sql"
)

// TODO(js) Can we see tables in an attached database? How are their names handled? See https://sqlite.org/lang_naming.html

const sqliteAllColumns = `SELECT * FROM %s LIMIT 0`

const sqliteTableNamesWithSchema = `
Expand Down
1 change: 0 additions & 1 deletion schema_mssql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ var _ = Describe("schema", func() {
Context("using github.com/denisenkom/go-mssqldb (Microsoft SQL-Server)", func() {

const (
// user = "mssql_test_user"
user = "test_user"
pass = "Password-123"
host = "localhost"
Expand Down

0 comments on commit 1ed2d24

Please sign in to comment.