Re: [pysqlite] How To Insert A Variable Number of Values

Rich Shepard <[email protected]> Sat, 31 May 2008 07:26:06 -0700 (PDT)
Newsgroups gmane.comp.python.db.pysqlite.user
Message-ID <[email protected]>
On Fri, 30 May 2008, Roger Binns wrote:

> You could create statements as appropriate but it is a pain.  I don't
> know if pysqlite lets you supply a dictionary as the bindings, but apsw
> does.  For example:

Roger,

   I use the same approach to saving data from widget displays to the SQLite
database throughout the application. That's why the response with the grid
data threw me. Once I can identify the source of the problem I can address
that and a dictionary is not necessary. (That would require a major rewrite
of the entire application, too.)

Thanks,

Rich

-- 
Richard B. Shepard, Ph.D.               |  Integrity            Credibility
Applied Ecosystem Services, Inc.        |            Innovation
<http://www.appl-ecosys.com>     Voice: 503-667-4517      Fax: 503-667-8863