write_sources

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

write_sources(
    self ,
    records: list[SourceRecord] ,
)-> ‘None’

Insert or replace sources and all dependent rows, atomically.

Rows are batched per table (attrs grouped by column signature) rather than inserted one at a time.