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

Well... you can also use a modern ORM. I think "stitching ... text strings" is definitively not the way to go when interfacing a SQL database. My go-to ORM is Sequel[1]. I think their API is one of the best I've seen: you can choose to use models, but you can also work directly with "datasets" (tables or views, or queries) and compose them as you like. It's really powerful and simple.

[1]: http://sequel.jeremyevans.net/



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

Search: