obscuroloconato | 22 Dec 2011 10:04

DBI example

First: is this the right mailing list for user questions?

If so:

I tried the DBI example from the reference documentation and get the
following error:

*** ERROR: list required, but got #<<mysql-result-set> 0x9b69fa0>

After some further reading I found the collection framework.

For newbies like me it would be useful to add the use statements at
the top of the example:

(use dbi)
(use gauche.collection)

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
Shiro Kawai | 23 Dec 2011 02:05
Favicon

Re: DBI example

Yes, you're welcome to post questions here.

And thanks for pointing it out.  I'll reflect it to the doc.

--shiro

From: obscuroloconato <at> googlemail.com
Subject: [Gauche-devel] DBI example
Date: Thu, 22 Dec 2011 10:04:02 +0100

> First: is this the right mailing list for user questions?
> 
> If so:
> 
> I tried the DBI example from the reference documentation and get the
> following error:
> 
> *** ERROR: list required, but got #<<mysql-result-set> 0x9b69fa0>
> 
> After some further reading I found the collection framework.
> 
> For newbies like me it would be useful to add the use statements at
> the top of the example:
> 
> (use dbi)
> (use gauche.collection)
> 
> ------------------------------------------------------------------------------
> Write once. Port to many.
> Get the SDK and tools to simplify cross-platform app development. Create 
(Continue reading)


Gmane