rdkit.Dbase.DbResultSet module

defines class _DbResultSet_ for lazy interactions with Db query results

Note

this uses the Python iterator interface, so you’ll need python 2.2 or above.

class rdkit.Dbase.DbResultSet.DbResultBase(cursor, conn, cmd, removeDups=-1, transform=None, extras=None)

Bases: object

GetColumnNames()
GetColumnNamesAndTypes()
GetColumnTypes()
Reset()

implement in subclasses

class rdkit.Dbase.DbResultSet.DbResultSet(*args, **kwargs)

Bases: DbResultBase

Only supports forward iteration

Reset()

implement in subclasses

next()
class rdkit.Dbase.DbResultSet.RandomAccessDbResultSet(*args, **kwargs)

Bases: DbResultBase

Supports random access

Reset()

implement in subclasses

next()