Hi everyone,

I'm trying to figure out the best way to pool database connections so
I was looking into how MiddleKit does it.  I noticed this piece of
code in MSSQLObjectStore.py and didn't know python could do this:

def Klass:
        def sqlTableName(self):
                '''
                Returns "[name]" so that table names do not conflict with SQL
                reserved words.
                '''
                return '[%s]' % self.sqlTableName()


I've never seen a class over-ridden with a def statement.  Is that
what this is doing?  Any idea where in the python manuals I could read
about this?

BTW: Does anyone have a PostgreSQL SQLObjectStore module?  Any advice
on DB pooling would also be appreciated :)

Thanks,
Jeff


_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to