Stephen R. van den Berg wrote:
>The fetch_row() function actually returns an array for each row, where
>the individual columns are already parsed and converted into the native
>Pike formats for handling.

A typical (low level) usage sequence in Pike looks like this:

   object db;
   object q;
   array row;

   db = Sql.pgsql("host","database","user","password");

   q = db->query("SELECT * FROM a");

   while(row = q->fetch_row())
      write("Processing row %O\n",row);

   q = db->query("SELECT * FROM b");

etc.
-- 
Sincerely,
           Stephen R. van den Berg.

"People who think they know everything are annoying to those of us who do."

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to