[Zope-DB] multidatabase connections

Andreas Jung lists at andreas-jung.com
Mon Mar 7 00:42:14 EST 2005



--On Montag, 7. März 2005 16:11 Uhr +1100 srikanth 
<srikanth.m at monsterfirst.com> wrote:

>
>
> Hi,
>
>   I am new to zope and am working on project that needs me to interact
> with two different mysql databases to get my resultset.
>
> But with Zmysql database connection object I can connect to only one
> database. So how do I use my two databases to query at the
>

Create different connections and tie your sql methods to the different 
connections
(requires code duplication if the methods are the same).

-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope-db/attachments/20050307/0d4cc182/attachment.bin


More information about the Zope-DB mailing list