lsst.dax.apdb g864b0138d7+33ab2bc355
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
lsst.dax.apdb.sql.apdbSqlReplica.ApdbSqlTableData Class Reference
Inheritance diagram for lsst.dax.apdb.sql.apdbSqlReplica.ApdbSqlTableData:
lsst.dax.apdb.apdbReplica.ApdbTableData

Public Member Functions

 __init__ (self, sqlalchemy.engine.Result result)
 
Sequence[str] column_names (self)
 
Collection[tuple] rows (self)
 

Protected Attributes

 _keys
 

Detailed Description

Implementation of ApdbTableData that wraps sqlalchemy Result.

Member Function Documentation

◆ column_names()

Sequence[str] lsst.dax.apdb.sql.apdbSqlReplica.ApdbSqlTableData.column_names ( self)
Return ordered sequence of column names in the table.

Returns
-------
names : `~collections.abc.Sequence` [`str`]
    Column names.

Reimplemented from lsst.dax.apdb.apdbReplica.ApdbTableData.

◆ rows()

Collection[tuple] lsst.dax.apdb.sql.apdbSqlReplica.ApdbSqlTableData.rows ( self)
Return table rows, each row is a tuple of values.

Returns
-------
rows : `~collections.abc.Collection` [`tuple`]
    Collection of tuples.

Reimplemented from lsst.dax.apdb.apdbReplica.ApdbTableData.


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