TWapSQLQueryAsync extension

on

Methods

applyUpdatesAsync([int maxErrors = 0]) → Future<void>

Available on TCustomSQLQuery, provided by the TWapSQLQueryAsync extension

@@@ Replays the update log → await to send it. Backend errors surface here.
execSQLAsync() → Future<TRowsCount>

Available on TCustomSQLQuery, provided by the TWapSQLQueryAsync extension

@@@ DML: synchronous execSQL into the queue → await to send it. @@@ Returns rowsAffected after flushing (the value cached inside the synchronous execSQL is @@@ -1 before flushing; what's returned here is the real backend value)
openAsync() → Future<void>

Available on TCustomSQLQuery, provided by the TWapSQLQueryAsync extension

@@@ SELECT: prepare → await fetches the whole batch → loads it into the cursor → synchronous open()
refreshAsync() → Future<void>

Available on TCustomSQLQuery, provided by the TWapSQLQueryAsync extension

@@@ Closes and reopens (the original Refresh preserves the position near the cursor; this @@@ backend has no cursor, so this is an honest reopen)