[DB-SIG] Re: oracledb usage
Wed, 17 Sep 1997 20:47:37 -0400 (EDT)
firstname.lastname@example.org (Roy Smith) wrote:
>I think what you want is:
> cursor.execute ('select id from annot where work = :1 and id != :2',
> [work_id, annot_id])
>Based on my initial confusion about this, and the frequency with which I
>see this question come up, I think this is probably one of the weak spots
>in the db package documentation.
Indeed; there are only two paragraphs in the DB-API
specification about it, and no examples at all, so it's easy to miss
them. Consider this another potential task for the DB-SIG.
DB-SIG - SIG on Tabular Databases in Python
send messages to: email@example.com
administrivia to: firstname.lastname@example.org