claude/session-crx3tm #147
1 changed files with 3 additions and 3 deletions
|
|
@ -57,9 +57,9 @@ const db = {
|
||||||
set: (data: Partial<MatchRow>) => {
|
set: (data: Partial<MatchRow>) => {
|
||||||
const applyTo = (where: unknown) => {
|
const applyTo = (where: unknown) => {
|
||||||
const values = whereValues(where);
|
const values = whereValues(where);
|
||||||
const row = rows.find((r) => values.includes(r.id));
|
const target = rows.find((r) => values.includes(r.id));
|
||||||
if (row) Object.assign(row, data);
|
if (target) Object.assign(target, data);
|
||||||
return row;
|
return target;
|
||||||
};
|
};
|
||||||
// Advancement writes through the query builder with and without .returning().
|
// Advancement writes through the query builder with and without .returning().
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue