On Wed, Sep 2, 2009 at 7:54 AM, Phil Yard<[email protected]> wrote:
> Hi Maciej, thanks for the quick response.
>
> I did consider using rowset & iterator, but I would have a performance
> issue as I would end up fetching a single row at a time from the
> database (ultimately statement_backend::fetch(number) gets called with
> the value '1' many times).

Depending on the backend, this doesn't have to mean you're fetching a
single row at a time, for example for the MySQL backend all data is
retrieved from the server at once in execute() and
statement_backend::fetch() just advances an index in an internal data
structure.

Thanks,

Aleksander

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to