Re: [Zope-dev] Multiple Database Connections Same Zsql method

2002-03-16 Thread senkr
D]>; <[EMAIL PROTECTED]> Sent: Sunday, March 10, 2002 11:53 PM Subject: Re: [Zope-dev] Multiple Database Connections Same Zsql method > The easiest way to do this is probably (As I think you are describing) put > the ZSQL Method in a folder, and put one database connection in eac

Re: [Zope-dev] Multiple Database Connections Same Zsql method

2002-03-11 Thread Adrian Hungate
tactical maneuvering consists in turning the devious into the direct, and misfortune into gain. - Sun Tzu - Original Message - From: "senkr" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, March 09, 2002 12:10 AM Subject: [Zope-dev] Multiple Database Connec

[Zope-dev] Multiple Database Connections Same Zsql method

2002-03-08 Thread senkr
Is it possible to iterate though multiple databases with the same zsql method?  Have multple identical databases with different data.  Want to maintain only one method.   Can i do this in DTML or do I have to use pythonscripts?    I guess what I want to do is to have the query in one fold

Re: [Zope-dev] multiple database connections

2002-03-07 Thread Jerome Alet
On Thu, Mar 07, 2002 at 03:28:28AM -0800, kapil thangavelu wrote: > On Thursday 07 March 2002 02:34 am, you wrote: > > > > not-yet-existing Database Connection ? After all, creating ZSQL methods > > isn't for end users, so maybe Zope could trust developpers in knowing > > exactly what they want to

Re: [Zope-dev] multiple database connections

2002-03-07 Thread Andy McKay
On March 7, 2002 03:28 am, kapil thangavelu wrote: > part of this goes back to the old who is zope's target audience days, when > content managers were supposed to use the zmi directly. plus its just > generally less confusion, imo. Getting rid of this assumption will solve lots of daft little is

Re: [Zope-dev] multiple database connections

2002-03-07 Thread kapil thangavelu
On Thursday 07 March 2002 02:34 am, you wrote: > Hi, > > > So my question is : why the hell can't developpers create ZSQL methods as > they see fit, and be allowed to type-in the name of a possibly > not-yet-existing Database Connection ? After all, creating ZSQL methods > isn't for end users, so

[Zope-dev] multiple database connections

2002-03-07 Thread Jerome Alet
Hi, First I have to say I've not tried what is discussed below, I'm just thinking about how this could be done... Say I have several relationnal databases, both have an identical structure. Since these databases are identical, all my ZSQL methods can be used with any of them. So I plan to arch