Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

API Controllers that dont use Microsoft.AspNetCor.Datasync TableController #849

Discussion options

You must be logged in to vote

You can delete the SQLite database, or you can use the ExecuteSqlAsync() method to delete all records in the __OperationsQueue table. Or you can use PurgeItemsAsync() as you did.

Something tells me that you have a piece of code that is creating a record. We don't do that on PullItemsAsync() nor do we do that on a GET. Add logging to the client to determine if you are doing a POST. If you are, then you can and should trace it back. Don't forget that a PullItemsAsync() automatically does a Push if the table has any pending records to push.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@ideas2appsaustralia
Comment options

@adrianhall
Comment options

@ideas2appsaustralia
Comment options

@adrianhall
Comment options

Answer selected by ideas2appsaustralia
@ideas2appsaustralia
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants