Hey I was wondering if anyone could suggest a good database driver that supports MySQL and SQLite.
I originally wanted to use jasync-sql but it doesn't seem to support SQLite
Tech
09/17/2023, 10:29 PM
Exposed is more like an ORM rather than Driver
Tech
09/17/2023, 10:29 PM
er I may be mistaken in my definitions but I'd much rather just write out my SQL statements
m
Mitchell Syer
09/17/2023, 10:51 PM
I would say just use SQLDelight if you want to use raw SQL with Kotlin, but you could also just use JDBC directly
t
Tech
09/17/2023, 10:54 PM
I was looking into SQLDelight but it doesn't seem to support connecting to MySQL.
I want to support both so I could do my testing in SQLite and do beta testing in SQLite without caring about a DB then when needed just easily switch to MySQL.
I originally wanted to use jasync-sql since it also seems to have decent support for coroutines