Replies: 1 comment 10 replies
-
You're correct, I should share more of my plans. Generate Code from Raw SQL Queries, similar to sqlcFor me, this is the main thing missing from Bob's workflow. This is very hard work and requires deep dedicated time to do it. My initial plan was to hook into sqlc to use their parser, but it is in the Now, I'm writing a parser for each query type and dialect to extract the necessary information. As I did this, I realised that this was better that depending on sqlc because of all the ways I need this to interact with the rest of Bob. So far, I have this 80% working for SQLite SELECT queries. Which makes the whole feature maybe 10% complete because MySQL and Postgres are many times more complex to parse. When it is done, the generated code will be able to be used standalone (like sqlc), but it will also allow adding query mods to it so one doesn't have to write multiple similar queries. Plugins for custom generationThe necessary hook points for plugins already exist, but it needs documentation.
Documentation & TestingLots and lots of tests, examples, e.t.c… And as much documentation as possible More DatabasesOnce everything is running nicely for Postgres, MySQL and SQLite, I'd want to possibly support other databases. However, what scares me the most about adding new DBs is having to write parsers for their queries 😬 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey @stephenafamo! I wanted to ask what your plans are regarding the future of bob.
There have been quite a few big changes lately (great ones though!) but the documentation is getting outdated pretty quickly which makes it hard for both existing and new users.
I think you also have mentioned somewhere (issue/discussion) that you have a few more disruptive changes in the pipeline.
I was planning on contributing some documentation updates here and there but it's hard to tell where it would be worth to spend the time since I don't know what will change again.
Could you maybe share a bit of your future plans? That would make it easier to assess what parts to put work in.
Beta Was this translation helpful? Give feedback.
All reactions