execute method
Executes the complete mutation and returns the driver's affected-row count.
Counts follow the selected database's native semantics, including upserts.
Implementation
Future<int> execute({
ExecutionOptions options = const ExecutionOptions(),
}) async => (await database.executeCommand(
compile(),
options: options,
changedTables: [queryState.source.schema],
affectedOnly: true,
cascade: mutationKind == MutationKind.delete,
)).affectedRows;