https://kotlinlang.org logo
#squarelibraries
Title
# squarelibraries
b

bod

07/13/2020, 9:15 AM
Hello, World! I'm using SQLDelight for the first time, in a Multiplatform project. In my macosX64 code, using
NativeSqliteDriver
, when my db file doesn't exist, my queries are executed but return nothing. Shouldn't there be an exception instead? If the file does exist I have the same behavior (queries return nothing) - but I suspect the file is not even read. The exact same code in the JVM target using
JdbcSqliteDriver
gives an error when the file is not present / works as expected when it is present. Ideas? Also I was wondering if there's a way to enable some logs? Right now I have no idea of what's going on. Thanks a lot!