Skip to content

0.12.0

Compare
Choose a tag to compare
@DallasHoff DallasHoff released this 24 Oct 03:35
· 28 commits to main since this release
  • Add deleteDatabaseFile method
  • Add optional callback to the overwriteDatabaseFile method which is called after the overwrite but before connections from other SQLocal client instances are allowed to access the new database. The new deleteDatabaseFile method has a similar callback.
  • Add onConnect hook that runs when the SQLocal instance initializes for the first time and anytime overwriteDatabaseFile or deleteDatabaseFile is called on the database connected to that instance.