Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(engine/sqlite): added json_tree and json_each definitions
fix #1830
  • Loading branch information
orisano authored and alixinne committed Aug 12, 2025
commit 81869389c4f1cd34d06a5ab1ba53895c7ecb968a
1 change: 1 addition & 0 deletions internal/cmd/shim.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ func pluginCatalog(c *catalog.Catalog) *plugin.Catalog {
},
Columns: columns,
Comment: t.Comment,
Hidden: t.Hidden,
})
}
schemas = append(schemas, &plugin.Schema{
Expand Down
3 changes: 3 additions & 0 deletions internal/codegen/golang/result.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ func buildStructs(req *plugin.GenerateRequest, options *opts.Options) []Struct {
}
for _, table := range schema.Tables {
var tableName string
if table.Hidden {
continue
}
if schema.Name == req.Catalog.DefaultSchema {
tableName = table.Rel.Name
} else {
Expand Down
Loading
Loading