Join Slack
Communities
Powered by
I'm trying to load a prepopulated database in SQL ...
# squarelibraries
j
John Aoussou
12/08/2021, 5:01 AM
I'm trying to load a prepopulated database in SQL delight (Android). Is it enough to just add the database in main/assests/database and pass the filename to SqliteDriver?
Copy code
AndroidSqliteDriver( schema = ExcerptDatabase.Schema, context = app, name = myDB.db )
I tried that but it's not reading the prepopulated database.
Open in Slack
Previous
Next