by version_five · 3y ago · 0 comments
This post is mostly about plumbing. It's probably the right way to do it if it needs to be scaled. But for learning, it obscures what is essentially simple stuff going on behind the scenes.
If you know what you want to build, building from scratch is easier than you think. If you're tinkering on the weekend, then maybe the frameworks are helpful.
[0] - https://github.com/emptycrown/llama-hub/blob/main/llama_hub/...
```
def queryPostgres(client, string)
return client.query(string)
```