Database class
A database, declared via a UseMoor
annotation on a Dart class.
- Inheritance
-
- Object
- BaseMoorAccessor
- Database
- Available Extensions
Constructors
Properties
-
daos
→ List<
DartType> -
final
- declaration → DatabaseOrDaoDeclaration?
-
Gets the declaration of this element, if set.
finalinherited
-
declaredIncludes
→ List<
String> -
The
includes
field from theUseMoor
orUseDao
annotation.finalinherited -
declaredQueries
→ List<
DeclaredQuery> -
All queries declared directly in the
UseMoor
orUseDao
annotation.finalinherited -
declaredTables
→ List<
MoorTable> -
All tables that have been declared on this accessor directly.
finalinherited
-
declaredViews
→ List<
MoorView> -
All views that have been declared on this accessor directly.
finalinherited
-
entities
↔ List<
MoorSchemaEntity> -
All entities for this database accessor. This contains declaredTables
and all tables, triggers and other entities available through includes.
getter/setter pairinherited
- fromClass → ClassElement?
-
The
ClassElement
that was annotated withUseMoor
orUseDao
.no setterinherited - hashCode → int
-
The hash code for this object.
no setterinherited
-
imports
↔ List<
FoundFile> ? -
Resolved imports from this file.
getter/setter pairinherited
-
queries
↔ List<
SqlQuery> ? -
All resolved queries.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schemaVersion ↔ int?
-
If the source database class overrides
schemaVersion
and returns a simple integer literal, stores that version.getter/setter pair -
tables
→ Iterable<
MoorTable> -
All tables for this database accessor. This contains the declaredTables
and all tables that are reachable through includes.
no setterinherited
-
views
→ Iterable<
MoorView> -
All views for this database accesssor.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited