[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] [PATCH] [RFC] dbd-sqlite: Do not fetch all rows of

From: Paolo Bonzini
Subject: Re: [Help-smalltalk] [PATCH] [RFC] dbd-sqlite: Do not fetch all rows of a select at once
Date: Mon, 26 Nov 2012 17:11:12 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0

Il 26/11/2012 17:07, Holger Hans Peter Freyther ha scritto:
> > I think it's simpler to leave this method aside.  Code using
> > #next/#atEnd will simply not call #rowCount.
> Okay, then I change the documentation to not call rowCount when
> atEnd/next? is used? E.g. for Postgres one can query the size of
> the resultset.

Yes, I think this would be better.  We would need a separate method name
if #rowCount could return -1 (or better, nil) on SQLite.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]