Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c228645

Browse files
orisanoalixinne
authored andcommitted
fix(engine/sqlite): added json_tree and json_each definitions
fix #1830
1 parent 6ae5bcc commit c228645

File tree

16 files changed

+1253
-523
lines changed

16 files changed

+1253
-523
lines changed

‎internal/cmd/shim.go‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ func pluginCatalog(c *catalog.Catalog) *plugin.Catalog {
115115
},
116116
Columns: columns,
117117
Comment: t.Comment,
118+
Hidden: t.Hidden,
118119
})
119120
}
120121
schemas = append(schemas, &plugin.Schema{

‎internal/codegen/golang/result.go‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ func buildStructs(req *plugin.GenerateRequest, options *opts.Options) []Struct {
6868
}
6969
for _, table := range schema.Tables {
7070
var tableName string
71+
if table.Hidden {
72+
continue
73+
}
7174
if schema.Name == req.Catalog.DefaultSchema {
7275
tableName = table.Rel.Name
7376
} else {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /