[Catalyst] How to insert from form to MySQL with autoincrement
primary key?
Ash Berlin
ash_cpan at firemirror.com
Sun Dec 9 18:23:52 GMT 2007
On 9 Dec 2007, at 18:03, Martin Ellison wrote:
> Yes, I had the DBIC trace going. Basically it did an INSERT (without
> the key field, correctly), but not a (select of the)
> LAST_INSERT_ID(), at least, not in the trace. So perhaps it had no
> way of knowing the new key.
It wont do that - it will use the C API method that returns the same
value.
More information about the Catalyst
mailing list