Logo Search packages:      
Sourcecode: zope-mysqlda version File versions  Download package

def ZMySQLDA::db::DBPool::_access_db (   self,
  method_id,
  args,
  kw 
) [private]

  Generic method to call pooled objects' methods.
  When the current thread had never issued any call, create a DB
  instance.

Definition at line 313 of file db.py.

00313                                              :
        """
          Generic method to call pooled objects' methods.
          When the current thread had never issued any call, create a DB
          instance.
        """
        ident = get_ident()
        db = self._pool_get(ident)
        if db is None:
            db = self.DB(**self._db_flags)
            self._pool_set(ident, db)
        return getattr(db, method_id)(*args, **kw)


class DB(joinTM):


Generated by  Doxygen 1.6.0   Back to index