Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

So now instead of writing sql I have to manually write the AST?


Writing AST or an abstract plan/execution tree is not a bad idea. mongodb and elasticsearch are extremely friendly for programmatic query builders.


The whole query builder is an optional abstraction built onto the ORM. It has many benefits, but will also never completely support every SQL variant in existence, as is true with all query builders. so I feel as though the only responsible way to build ORMs is with escape hatches, and this is one of them.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: