Instantiate PowerSync Database
You need to instantiate the client-side PowerSync database — this is the core managed local SQLite database.
Its primary functions are to record all changes in the local database, whether online or offline. In addition, it automatically uploads changes to your app backend when connected.
Example implementation
For an example implementation of instantiating the database, see the Getting Started section of the SDK reference for your platform:
The PowerSync Kotlin Multiplatform SDK is currently in open alpha and this section is coming soon.
Additional Examples
For additional implementation examples, see Example / Demo Apps.
ORM Support
For details on ORM support in PowerSync, refer to Using ORMs with PowerSync on our blog.
Last updated