[postmodern-devel] Exlcuding slots dao-save
Marijn Haverbeke
marijnh at gmail.com
Sun Oct 25 17:25:16 UTC 2009
> I had a quick look at the code and I don't see that the record is
> reselected for insert under at any time so i gues serial is also not
> handles correctly.
That's the :returning clause on line 199.
> I think we migh thave to settle for :auto-generated and :read-only
> because we only want to fetch the value auto generated instances on
> insert to refresh the dao instance.
See above. The idea is that after an insert, the instance properly
reflects the row in the database.
More information about the postmodern-devel
mailing list