rdkit.Dbase.DbResultSet module — The RDKit 2016.09.1 documentation

# 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: `rdkit.Dbase.DbResultSet.DbResultBase`

  Only supports forward iteration

  `Reset`()
  `next`()

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

  Bases: `rdkit.Dbase.DbResultSet.DbResultBase`

  Supports random access

  `Reset`()
  `next`()