[Catalyst] Create multiple records
Will Smith
willbelair at yahoo.com
Fri Dec 29 18:24:33 GMT 2006
Hi,
Could someone please show me the syntax to create multiple records. For example my table book has 3 fields : id (auto_increment), title, price. On the template I have 3 rows of title/price. I want to enter 3 book titles and prices and create at the same time.
With the old syntax, I can do something like
my $book = myapp::M::CDBI::Book::Shift->create(\%hash);
In this new version, I get error.
Thank you
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20061229/6a40c2cd/attachment.htm
More information about the Catalyst
mailing list