IbuildingsItaly / sails-db2

MIT License
10 stars 12 forks source link

.createEach #11

Open federico-razzoli opened 9 years ago

federico-razzoli commented 9 years ago

DB2 supports multi-INSERT statements as an optimization:

INSERT INTO () VALUES () [, () ...]

sails-db2 supports default values. So all fields must be listed in each list, with specifiedValue || defaultValue.