DatabaseFeature enum
Feature flags for features that a DB may or may not support.
Considered "core" and thus not behind a feature flag: insert, query
Values
- orderBy → const DatabaseFeature
-
DB supports query results ordering
- upsert → const DatabaseFeature
-
DB can perform "insert or replace"
- projection → const DatabaseFeature
-
DB can limit the properties fetched for the result of a query
- equalityDelete → const DatabaseFeature
-
DB can delete given a single "equality" filter
- rowCount → const DatabaseFeature
-
DB can provide reliable row affected by a given query/operation
- comparisonDelete → const DatabaseFeature
-
DB can delete given a single "comparison" filter
- complexDelete → const DatabaseFeature
-
DB supports combined queries when deleting
- uniqueProperty → const DatabaseFeature
-
DB can enforce a property to have unique values
- intAutoPK → const DatabaseFeature
- compoundPK → const DatabaseFeature
-
DB supports a primary key spanning multiple properties
- removeCollection → const DatabaseFeature
-
DB supports a primary key spanning multiple properties
- addProperty → const DatabaseFeature
-
DB supports adding a property to a collection's schema
- removeProperty → const DatabaseFeature
-
DB supports removing a property to a collection's schema
- renameCollection → const DatabaseFeature
-
DB supports renaming a collection
- renameProperty → const DatabaseFeature
-
DB supports renaming a property
- alterProperty → const DatabaseFeature
-
DB supports altering a property schema
- transactions → const DatabaseFeature
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
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
Constants
-
values
→ const List<
DatabaseFeature> - A constant List of the values in this enum, in order of their declaration.