sybperl-l Archive
Up Prev Next
From: "Avis, Ed" <avised at kbcfp dot com>
Subject: RE: BLK API for DBD::Sybase...
Date: Jul 9 2004 2:21PM
Michael Peppler wrote:
>The way I see it I have two choices:
>
>1. Store the rowcount somewhere (e.g. $sth->{syb_bcp_rows_affected})
>or
>2. Don't use commit/rollback/finish, and instead create an ad-hoc
>private method ($sth->syb_bcp_commit(\$rows), etc).
These are not mutually exclusive. syb_bcp_commit() could be a
wrapper. Which suggests that the syb_bcp_rows_affected interface is
the one to provide.
--
Ed Avis
|