DataWriter bulkSet() vs set()

Parsnip

Active member
As far as I can tell, bulkSet() just loops through an array and performs a set() on each element. This seems very handy when updating fields from multiple tables at once.

bulkSet() lacks the ability to specify a table name, so you have to be sure your column name is unique across all tables. A table name is optional for set().

Is there any performance penalty by not specifying the table, or does the convenience outweigh whatever negligible difference there is?
 
Back
Top Bottom