attr_stated_ids

method of dascore.io.index.backend.SQLiteIndexBackend source

attr_stated_ids(
    self ,
    name: str ,
    patch_ids = None,
)-> ‘set[int]’

Return the ids of the patches which state a value for one attr.

An attr may be stored in more than one typed column across an archive, and a patch states it when any of them holds a value. This answers without projecting the relation, so a caller can tell whether it needs to look anywhere else for the rest.