Login Register

data storage

dojo.data.api.Write - setValues function

In the dojo.data.api.Write declaration, it states for the function setValues that...

// Calling store.setValues(x, y, []) (with *values* as an empty array) has
// the same effect as calling store.unsetAttribute(x, y).

I find that if you pass setValues a blank array, it should NOT have the affect of store.unsertAttribute(x, y).

Syndicate content