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

This works on multiple databases, yet still uses plain old sql. I think it's simpler than using a multi-database ORM for plain old sql, or using a databases' driver directly, like psycopg2.

Edit: actually it just works on postgres. I don't know if there are plans to make it work on other SQL databases.



Really? Have you looked at the code? It looks like it's hardwired to psycopg2 and only works with Postgres. I could be wrong.


The github page says "Records is a very simple, but powerful, library for making raw SQL queries to Postgres databases" - so it does seem PG specific


I have now, and you are correct. It also says so in the README. The API looks like it's designed to be compatible with any SQL database, though.




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

Search: