Skip to content

inbound

David Fahlander edited this page Apr 7, 2016 · 5 revisions

A primary key is considered inbound if it's included in the stored objects.

Examples of inbound primary key

db.version(1).stores({
    friends: "id"
});
db.version(1).stores({
    friends: "id,name"
});
db.version(1).stores({
    friends: "++id,name"
});

Example of non-inbound primary key

db.version(1).stores({
    friends: ""
});
db.version(1).stores({
    friends: ",name"
});
db.version(1).stores({
    friends: "++,name"
});
Clone this wiki locally