Skip to content

Conversation

@mpnow
Copy link
Contributor

@mpnow mpnow commented Jul 5, 2025

Fix SQL Parameter Issues and Filename Typo in PowerSyncData.cs

Problem

  • The SaveListAsync and SaveItemAsync methods had a few issues in their parameter specifications.
  • There was a typo in the filename of the local SQLite database.

Solution

  • Fixed parameter issues in the SaveListAsync INSERT statement.
  • Fixed parameter issues in the SaveItemAsync INSERT statement.
  • Standardized use of SQLite datetime() function for consistency.
  • Fixed typo in the SQLite database filename.

Testing

  • Verified that both INSERT queries execute without errors, and provide the proper data to the database.

@mpnow mpnow changed the title A few bug fixes when writing to the database. Fix SQL Parameter Issues and Filename Typo in PowerSyncData.cs Jul 5, 2025
@Chriztiaan
Copy link
Collaborator

Thanks for the sweeping! 🧹

@Chriztiaan Chriztiaan merged commit 2505af4 into powersync-ja:main Jul 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants