Using Kysely adapter, this properly throws an error:
computedAsync(async () => await db.selectFrom('ololo').selectAll().execute());
kysely:error: Error: no such table: ololo
at check (sqlite-api.js:889:11)
at sqlite-api.js:738:13
at async WorkerWASQLiteConnection._execute (WASQLiteConnection.js:361:26)
at async WorkerWASQLiteConnection.executeSingleStatement (WASQLiteConnection.js:331:25
while this doesn't:
useQuery(db.selectFrom('ololo').selectAll());
It just silently doesn't work, the console is empty.
Using Kysely adapter, this properly throws an error:
while this doesn't:
It just silently doesn't work, the console is empty.