# Functions
CurrentDBLevels returns current levels from the database.
Migrate updates the database tables to use the latest schema and does data migration if needed.
New creates an instance of DB.
# Variables
APICounterOpts define the counter opts for database APIs.
APIDurationOpts define the duration opts for database APIs.
# Structs
AffiliationRecord defines the properties of an affiliation.
CertRecord extends CFSSL CertificateRecord by adding an enrollment ID to the record.
DB is an adapter for sqlx.DB and implements FabricCADB interface.
Metrics is the set of meters for the database.
TX is the database transaction.
# Interfaces
FabricCADB is the interface that wrapper off SqlxDB.
FabricCATx is the interface with functions implemented by sqlx.Tx object that are used by Fabric CA server.
Migrator is the interface that defines a migrator.
SqlxDB is the interface with functions implemented by sqlx.DB object that are used by Fabric CA server.
SqlxTx is the contract with sqlx.