aDevWhosTrying
Explore posts from serversStumped - sqlite kysely no data from select query
I have an electron app with
node-sqlite3
and kysely
. I'm able to post data, but for some reason select
comes up empty. I feel like I'm missing something low-level here. Thank you in advance. I've been banging my head on this off and on for 2 days.
db.ts
Post Service
8 replies
How to access error events -- Is there a best/good practice for error handling
I'm writing my methods and associated tests for db access and when trying to validate error events. I get a SQL event log but nothing is caught in my try-catch block. When I log the response it is either empty or
undefined
.
*Example
I don't see in the docs where expected errors are defined. Thank you for your time. Cheers,3 replies
`createTable` function with dynamic column array
Hey folks, I'm trying to create a create table function; I feel like this should be straight forward and just work. But, I'm obviously missing something. Please let me know if more details are required.
Thank you for your time. 🙏
It's throwing a generic sqlite error
7 replies