1
0
Fork 0
arangodb/Documentation/DocuBlocks/JSF_foxx_model_set.md

200 B

FoxxModel#set(name, value)

Set the value of an attribute or multiple attributes at once

@EXAMPLES

instance = new Model({
  a: 1
});

instance.set("a", 2);
instance.set({
  b: 2
});