struct-create icon indicating copy to clipboard operation
struct-create copied to clipboard

3 new options for the struct creator (Xorm,Base Tables, Nullables)

Open happilymarrieddad opened this issue 7 years ago • 0 comments

Hey guys,

I'm adding 3 new options for the struct creator.

  1. Xorm support - this creates the necessary function for passing directly into a xorm query along with primary key and auto increment support.
  2. 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.
  3. 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

happilymarrieddad avatar Feb 18 '18 23:02 happilymarrieddad