| 1944 | } |
| 1945 | |
| 1946 | const makeModifyAll = < |
| 1947 | Table extends IndexedDbTable.AnyWithProps |
| 1948 | >(options: { |
| 1949 | readonly from: IndexedDbQuery.From<Table> |
| 1950 | readonly values: Array<IndexedDbTable.TableSchema<Table>["Type"]> |
| 1951 | readonly operation: "add" | "put" |
| 1952 | }): IndexedDbQuery.ModifyAll<Table> => { |
| 1953 | const self = Object.create(ModifyAllProto) |
| 1954 | self.from = options.from |
| 1955 | self.values = options.values |
| 1956 | self.operation = options.operation |
| 1957 | return self as any |
| 1958 | } |
| 1959 | |
| 1960 | const QueryBuilderProto: Omit< |
| 1961 | IndexedDbQueryBuilder<any>, |