Hi

what is the usual practice in reading in rows from a database table 
- is a loop usually written to read next n rows / till the end   
- does the arriving data have to be processed like a dictionary into a
collection where each object corresponds to a row and each key/value into
the objects methods corresponding to columns

e.g in NBSQLite3 interface  test I find the command below used, looks like I
need to process row by row

rs := db execute: 'select * from x'.    
row := rs next.
... := row at: <key>
...
rs close  

(I will be using Sqlite, Postgresv2 and ODBC drivers ... 3 separate
projects)

regards
Sanjay






-----
---
Regards, Sanjay
--
View this message in context: 
http://forum.world.st/Reading-rows-in-a-database-table-select-from-tp4823000.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Reply via email to