records property
DVRecordAdapter
get
records
The record operations for the configured database: the adapter itself when it is a record engine, as a document database is, and otherwise the operations compiled to SQL through this facade, tenant checks and all. Framework code persists through this rather than query.
Implementation
DVRecordAdapter get records {
final DVDatabaseAdapter? configured = _adapter;
if (configured is DVRecordAdapter) return configured as DVRecordAdapter;
return DVSqlRecordAdapter();
}