Closed timwis closed 7 years ago
I did it by accident, now there's no way to add a new row.
EDIT: the new setNewValue event doesn't really account for this...
setNewValue
EDIT2: Option B in #28 may be the best way here, also gets 2 birds with 1 stone. Gosh I'm dreading refactoring...
EDIT3: Perhaps saveRow should check whether the row has primary key(s) set to determine whether to insert or update.
saveRow
I did it by accident, now there's no way to add a new row.
EDIT: the new
setNewValue
event doesn't really account for this...EDIT2: Option B in #28 may be the best way here, also gets 2 birds with 1 stone. Gosh I'm dreading refactoring...
EDIT3: Perhaps
saveRow
should check whether the row has primary key(s) set to determine whether to insert or update.