randomcoding/PartsDbWebApp — Issue #40: Database Record Classes `modify` method should return the modified record
Author: randomcoder
Created: 2012-02-07 07:48:32+00:00
State: open
Labels: db, important

Currently the DB Record classes all have a `modify(...)` method which performs an update operation on a record that already exists. As the underlying update method returns `Unit` so does the `modify` method.

However, it would be much more useful if the `modify` method were to return the modified record (as an option) as this would mean that callers would not have to get the modified object themselves.