pg-promise helpers : optionnal fields in insert and multiple-update
问题 pg-promise helpers : optionnal fields in insert and multiple-update I have some question about non-required fields for insert and update statement INSERT STATEMENT With this post I defined a ColumnSet that contains optionals fields ( stype , sspeed , disup ). It works but I just want to know a little detail: You can see that the ColumnSet define the value of state as "false" if the object don't have the property. In the database the field "disup" is defined to "false" as default, so do I