Method GetCrudBatch
GetCrudBatch(int)
Get a batch of crud data to upload.
Returns null if there is no data to upload.
Use this from the UploadData(IPowerSyncDatabase) callback.
Once the data have been successfully uploaded, call Complete(string?) before requesting the next batch.
Use limit to specify the maximum number of updates to return in a single
batch.
This method does include transaction ids in the result, but does not group data by transaction. One batch may contain data from multiple transactions, and a single transaction may be split over multiple batches.
public Task<CrudBatch?> GetCrudBatch(int limit = 100)
Parameters
limitint