Closed jeromeSH26 closed 5 years ago
interface ICacheDB extends DBSchema {
userFavorites: {
value: IResuSearch;
key: string;
indexes: { idx1: string, idx2: number, idx3: [string, number] }
};
}
Yep, that's the answer. Thanks @justjake!
IDB 4.0.4
The definition of DBSchema seems to prevent us from creating several indexes in the same store. Indexes is not an array of indextype.
This is OK
this is wrong
Am I missing something ?
Rgds