[Zope-dev] ZSQL methods inside of ZClasses

Lindell Alderman lindell@axispt.com
Sun, 21 May 2000 16:05:02 -0700


I want to create a ZClass that will incorporate a number of ZSQL methods.
I have a couple of questions about how I should do this.

1. I don't want to tie my ZClass to a particular database adapter.  But
to create my ZSQL methods inside of my zclass I need a connection.  How
do I circumvent this?

2. Even when I do create a ZSQL connection inside of my ZClass and I
create my ZSQL method.  Every time I run the method, I get a "connection
not found" error.  What is up?

-L