Api.SetColumns() example

Feb 24, 2011 at 9:51 PM
Edited Feb 24, 2011 at 9:55 PM

I was looking at getting and setting multiple columns at once, but I am a bit confused about the Api.SetColumns wrapper and how you would actually pass it an array of ColumnValue objects (readonly ValueAsObject?).

 

@laurionb: could you show a really simple example that shows how to use Api.SetColumns to update 2 columns with different datatypes at once?

 

 

Edit: I looked at the tests and figured it out.. :)