PendingStatement class final

An SQL statement to be run by the sync client against raw tables.

Since raw tables are managed by the user, PowerSync can't know how to apply serverside changes to them. These statements bridge raw tables and PowerSync by providing upserts and delete statements.

For more information, see the documentation

Constructors

PendingStatement({required String sql, required List<PendingStatementValue> params})

Properties

hashCode int
The hash code for this object.
no setterinherited
params List<PendingStatementValue>
A list of value identifiers for parameters in sql.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sql String
The SQL statement to run to upsert or delete data from a raw table.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited