schemats icon indicating copy to clipboard operation
schemats copied to clipboard

Materialized view schema type definitions

Open chazclark opened this issue 7 years ago • 3 comments

Is there a way to generate materialized view schema type definitions? I know it does this for normal views, yet I don't see the output for materialized views.

chazclark avatar Jul 14 '17 18:07 chazclark

Not possible with the current version. But it shouldn't be difficult to implement https://stackoverflow.com/questions/39179253/postgresql-get-materialized-view-column-metadata

Pull requests are welcomed :)

xiamx avatar Jul 14 '17 19:07 xiamx

@xiamx Has there been any pull request out for this. If so how do we use it

mhuconcern avatar Nov 06 '19 02:11 mhuconcern

I moved to slonik It has a typegen package that is actively maintained

mhuconcern avatar Nov 18 '19 20:11 mhuconcern