help-smalltalk
[Top][All Lists]
Advanced

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

[Help-smalltalk] [feature] DBD-SQLite ResultSet should access rows on de


From: Holger Hans Peter Freyther
Subject: [Help-smalltalk] [feature] DBD-SQLite ResultSet should access rows on demand
Date: Mon, 19 Nov 2012 08:09:02 -0700

Issue status update for http://smalltalk.gnu.org/node/671 Post a follow up: http://smalltalk.gnu.org/project/comments/add/671

Project:      GNU Smalltalk
Version:      <none>
Component:    DBI
Category:     feature requests
Priority:     normal
Assigned to:  Unassigned
Reported by:  zecke
Updated by:   zecke
Status:       active

  populate [
| resCode |

      rows := OrderedCollection new.
      [ resCode := self handle exec.
        resCode = 100
      ] whileTrue: [rows addLast:
                      (SQLiteRow forValues: self handle returnedRow
copy in: self)].

      self handle checkError: resCode = 101.
  ]

should be written in a way that it can be streamed without allocating
everyting to memory at once.





reply via email to

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