On 12 April 2012 08:51, weheh wrote:
> I need to limit my processing of db entries to chunks of, let's say, 100.
> So I want to first get the data:
>
> data = db(db.mytable.flag == False).select(limitby=(0,100))
>
> for d in data:
> # do something
>
> Then I want to set mytable.flag to True a
I need to limit my processing of db entries to chunks of, let's say, 100.
So I want to first get the data:
data = db(db.mytable.flag == False).select(limitby=(0,100))
for d in data:
# do something
Then I want to set mytable.flag to True after the above loop is done, but
only for the same 1
2 matches
Mail list logo