3 ms·
Looks nice but am curious about how you connect to and use a database. Is there some middleware or library to do this?
by samtechie 4y ago
Looks nice but am curious about how you connect to and use a database. Is there some middleware or library to do this?
- samatman 4y agoThe tutorial talks about doing this with SQLite, in a way that suggests that this is the only option. Which should be fine for a lot of applications.
- reilly3000 4y agoIt looks like janet supports great interop with c, so in theory it isn't much of a stretch to connect to other databases. I had the same question and came across this: https://github.com/newhook/janet-mysql https://github.com/newhook/janet-mysql I know this is probably not for PROD but its a lot of fun to look at a nice clean database driver. I've been working with mysql off and on for ~13 years and never have really looked at the source of a client.