We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0229adb commit 0d17097Copy full SHA for 0d17097
2 files changed
dialect/oracle/main.go
@@ -10,13 +10,16 @@ import (
10
"github.com/hymkor/sqlbless/dialect"
11
)
12
13
+//go:embed tables.sql
14
+var tablesSql string
15
+
16
//go:embed columns.sql
17
var columnsSql string
18
19
var oracleSpec = &dialect.Entry{
20
Usage: "sqlbless oracle://<USERNAME>:<PASSWORD>@<HOSTNAME>:<PORT>/<SERVICE>",
21
SQLForColumns: columnsSql,
- SQLForTables: `select * from tab where tname not like 'BIN$%'`,
22
+ SQLForTables: tablesSql,
23
TypeConverterFor: typeNameToConv,
24
TableNameField: "tname",
25
ColumnNameField: "name",
dialect/oracle/tables.sql
@@ -0,0 +1,3 @@
1
+select *
2
+ from tab
3
+ where tname not like 'BIN$%'
0 commit comments