AttachmentsQueueTable class final
Table definition for the attachments queue.
The columns in this table are used by the attachments implementation to store which attachments have been download and tracks metadata for state.
Constructors
Properties
-
columns
→ List<
Column> -
List of columns.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- ignoreEmptyUpdates → bool
-
Whether an
UPDATE
statement that doesn't change any values should be ignored when creating CRUD entries.finalinherited -
indexes
→ List<
Index> -
List of indexes.
finalinherited
- insertOnly → bool
-
Whether this is an insert-only table.
finalinherited
- internalName → String
-
Internal use only.
no setterinherited
- localOnly → bool
-
Whether the table only exists locally.
finalinherited
- maxNumberOfColumns → int
-
powersync-sqlite-core limits the number of columns
per table to 1999, due to internal SQLite limits.
finalinherited
- name → String
-
The synced table name, matching sync rules.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- trackMetadata → bool
-
Whether to add a hidden
_metadata
column that will be enabled for updates to attach custom information about writes that will be reported through CrudEntry.metadata.finalinherited - trackPreviousValues → TrackPreviousValuesOptions?
-
Whether to track old values of columns for CrudEntry.previousValues.
finalinherited
- validName → bool
-
no setterinherited
- viewName → String
-
Name for the view, used for queries.
Defaults to the synced table name.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
validate(
) → void -
Check that there are no issues in the table definition.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator [](
String columnName) → Column -
inherited
Constants
- defaultTableName → const String