You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug only on indexed boolean property. Works find is 'done' prop is converted to number using 0 or 1
constdb=createDB()typeTodo={id: number;text: string;done: boolean}consttodos=createTable<Todo>(db,'todos')({primary: 'id',indexes: ['done']})awaitinsert(todos,{id: 1,text: 'Buy milk',done: false})awaitinsert(todos,{id: 2,text: 'Buy bread',done: true})constall=awaitmany(todos,{where: {done: false}})//All is empty if indexes is 'done'//Works if does not have indexes