DatabaseInsertMode

class lsst.daf.butler.registry.interfaces.DatabaseInsertMode(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

Mode options available for inserting database records.

Attributes Summary

ENSURE

Insert records, skipping any that already exist.

INSERT

Insert records, failing if they already exist.

REPLACE

Replace records, overwriting existing.

Attributes Documentation

ENSURE = 3

Insert records, skipping any that already exist.

INSERT = 1

Insert records, failing if they already exist.

REPLACE = 2

Replace records, overwriting existing.