mdmoss / doobie-codegen

Generate Doobie database code from sql statements.
MIT License
10 stars 7 forks source link

Update by PK and shape #35

Open DpEpsilon opened 7 years ago

DpEpsilon commented 7 years ago

I will deal with this.

DpEpsilon commented 5 years ago

This is mostly a style thing. Calling code should not need to instantiate a Row, except via .copy(...) which can be hard to read if many rows are changing and few stay the same.

DpEpsilon commented 5 years ago

Code which instantiates Rows (or Shapes using NoDefaults) needs to be updated whenever a column is added, so this change would ease this problem slightly.