OpaqueTableStorage¶
-
class
lsst.daf.butler.registry.interfaces.
OpaqueTableStorage
(name: str)¶ Bases:
abc.ABC
An interface that manages the records associated with a particular opaque table in a
Registry
.Parameters: - name :
str
Name of the opaque table.
Methods Summary
delete
(**where)Remove records from an opaque table. fetch
(**where)Retrieve records from an opaque table. insert
(*data)Insert records into the table Methods Documentation
-
delete
(**where)¶ Remove records from an opaque table.
Parameters: - **where
Additional keyword arguments are interpreted as equality constraints that restrict the deleted rows (combined with AND); keyword arguments are column names and values are the values they must have.
-
fetch
(**where) → Iterator[dict]¶ Retrieve records from an opaque table.
Parameters: - **where
Additional keyword arguments are interpreted as equality constraints that restrict the returned rows (combined with AND); keyword arguments are column names and values are the values they must have.
Yields: - row :
dict
A dictionary representing a single result row.
-
insert
(*data)¶ Insert records into the table
Parameters: - *data
Each additional positional argument is a dictionary that represents a single row to be added.
- name :