Back to index

python-biopython  1.60
Public Member Functions | Public Attributes
Bio.DocSQL.IterationCursor Class Reference

List of all members.

Public Member Functions

def __init__
def next

Public Attributes


Detailed Description

Definition at line 127 of file

Constructor & Destructor Documentation

def Bio.DocSQL.IterationCursor.__init__ (   self,
  connection = connection 

Definition at line 128 of file

00129     def __init__(self, query, connection=connection):
00130         if connection is None:
00131             raise TypeError("database connection is None")
00132         self.cursor = connection.cursor()
00133         self.row_class = query.row_class
00134         if query.diagnostics:
00135             print >>sys.stderr, query.statement
00136             print >>sys.stderr, query.params
00137         self.cursor.execute(query.statement, query.params)

Here is the caller graph for this function:

Member Function Documentation

Definition at line 138 of file

00139     def next(self):
00140         return self.row_class(self.cursor)

Here is the caller graph for this function:

Member Data Documentation

Definition at line 131 of file

Definition at line 132 of file

The documentation for this class was generated from the following file: