(this: IndexedDbQueryBuilder<any>, table: any)
| 1977 | }) |
| 1978 | }, |
| 1979 | from(this: IndexedDbQueryBuilder<any>, table: any) { |
| 1980 | let cached = this.fromCache.get(table) |
| 1981 | if (cached === undefined) { |
| 1982 | cached = makeFrom({ |
| 1983 | database: this.database, |
| 1984 | IDBKeyRange: this.IDBKeyRange, |
| 1985 | table: this.tables.get(table)!, |
| 1986 | reactivity: this.reactivity |
| 1987 | }) |
| 1988 | this.fromCache.set(table, cached) |
| 1989 | } |
| 1990 | return cached as any |
| 1991 | }, |
| 1992 | get clearAll() { |
| 1993 | const self = this as IndexedDbQueryBuilder<any> |
| 1994 | return applyClearAll({ database: self.database.current }) |
no test coverage detected