Closed chaseWillden closed 3 days ago
This is fantastic and exactly how I imagined it. Awesome stuff! We will do this. And btw, we need to create a big table in the README so we can track all the features we have implemented and what we need to implement for the different adapters.
I will merge this.
This is an experimental PR, if you don't like it not worries at all. In my personal project, I have a semi complex query, which if I were to translate this into the Njord function style, it would be actually quite a bit of code. This potentially solves that issue:
This introduces the beginning of the sql!() function:
Eventually, the user_id would be completely sanitized to prevent sql injection attacks, but would allow for complex queries easily. For example:
Usage in sqlite would look like this: