3 ms·
Seems similar in inspiration to https://pugsql.org/ https://pugsql.org/ which is a python reimplementation of hugSQL, more or less. I'd say an advantage of pu
by hprotagonist 6y ago
Seems similar in inspiration to https://pugsql.org/ https://pugsql.org/ which is a python reimplementation of hugSQL, more or less.
I'd say an advantage of pugSQL is that it's sqla-core under the hood, so lots of stuff will Just Work and you can drop down to core to commit war crimes if you have to.
- config_yml 6y agois there something like this for ruby?
- ntrz 6y ago[hp]ugSQL seems to have been inspired by[1] Yesql, a library with ``a similar take on using SQL'' that has also inspired this[2] rom-rb adapter; not a Ruby guy so there may be something a lot better/closer, but this is what I came up with after a couple minutes of searching. [1] https://www.hugsql.org/#faq-yesql https://www.hugsql.org/#faq-yesql [2] https://github.com/rom-rb/rom-yesql https://github.com/rom-rb/rom-yesql (documentation: https://www.rubydoc.info/gems/rom-yesql https://www.rubydoc.info/gems/rom-yesql)
- TedDoesntTalk 6y ago> I'd say an advantage of pugSQL is that Plus it’s got a cool name
- ggregoire 6y agoExactly my first thought. Happy user of PugSQL here. I just wish there was a VSCode extension for autocompletion.
- nackjicholson 6y agoI haven't used pug, but I read through it a bit and like their approach. I think they have a more intricate way of parsing SQL than we have in aiosql. We're doing it quick and dirty with some regular expressions.