instance method SpahQL#setAll
SpahQL#setAll(key, value) → SpahQL
- key (String, Number): The key to set on this result
- value: The value to set for the given key SpahQL#setAll(dictionary) -> SpahQL
- dictionary (Object): A key/value hash containing multiple keys to be set.
Just like #set, only it attempts to set the given key(s) on all items in this set:
db.select(“//foo”).set(”a”, “a-value”) // Attempt to set “a” on all “foo” objects
Just like #set, returns self.