[Dbix-class] Re: A timestamp field is null when a record is created
Eugene Yarmash
e.yarmash at gmail.com
Wed Oct 31 14:17:24 GMT 2012
> On Wed, Oct 31, 2012 at 04:44:54PM +0300, Eugene Yarmash wrote:
> >/ "discard_changes" is more general approach. For example it can be
> />/ used with "prefetch".
> /
> <blink>. If anything discard_changes and prefetch are rather mutually
> exclusive. Can you clarify what do you mean?
>
$object =3D $rs->create($data)
->discard_changes({ prefetch =3D> ['key1', key2' ] });
-- =
Regards,
Eugene Yarmash
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20121031/d4a=
95565/attachment.htm
More information about the DBIx-Class
mailing list