struct-create
struct-create copied to clipboard
3 new options for the struct creator (Xorm,Base Tables, Nullables)
Hey guys,
I'm adding 3 new options for the struct creator.
- Xorm support - this creates the necessary function for passing directly into a xorm query along with primary key and auto increment support.
- Base Tables - Only build structs from base tables.. at my work we use a lot of views along with base tables and it's annoying for the tool to create structs based on the views.
- Ignore nullables - working on a 3rd version of our app and it's nice to have the structs built from another DB when this app doesn't necessarily want sql.Nullable* in the structs.
All three options are false by default so it shouldn't affect anyone currently using the creator.
Thanks!
- Nick