listSetProp
Specifies the property that uniquely identifies a list.
String
The name of the property that uniquely identifies the list.
Defaults to "__listSet"
.
var dataUrl = require("can-connect/data/url/");
var connection = connect([dataUrl], {
listSetProp: "set"
});
var list = [{id: 1, ...}, {id: 2, ...}]
list.set = {complete: true};
connection.listSet(list) //-> {complete: true}