Skip to content

Commit

Permalink
Build deno [autogenerated commit]
Browse files Browse the repository at this point in the history
  • Loading branch information
oguimbal committed Jul 12, 2022
1 parent 6123172 commit e0e8735
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .deno/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,9 @@ export class MemoryTable<T = any> extends DataSourceBase<T> implements IMemoryTa
if ('ignore' in onConflict) {
if (onConflict.ignore === 'all') {
for (const k of this.indexByHash.values()) {
if (!k.index.unique) {
continue;
}
const key = k.index.buildKey(toInsert, t);
const found = k.index.eqFirst(key, t);
if (found) {
Expand Down

0 comments on commit e0e8735

Please sign in to comment.