What do you want to change?
Use comment to generate model by view.
create view test_view as
select * from table
where title is not null;
comment on view test_view is 'Test view';
The generated struct should have a comment before it like so:
// Test view
type TestView struct {
ID int64
Name string
Bio sql.NullString
}
No comment currently shows up.
What database engines need to be changed?
PostgreSQL
What programming language backends need to be changed?
Go
What do you want to change?
Use comment to generate model by
view.The generated struct should have a comment before it like so:
No comment currently shows up.
What database engines need to be changed?
PostgreSQL
What programming language backends need to be changed?
Go