simov / express-admin

MySQL, MariaDB, PostgreSQL, SQLite admin for Node.js
MIT License
1.17k stars 223 forks source link

Use knexjs instead of raw queries #67

Closed knownasilya closed 10 years ago

knownasilya commented 10 years ago

Seems like the queries are pretty standard, which would make them an ideal candidate for knexjs. Knex supports the same databases, which would cut your code base down so there is less to manage.

simov commented 10 years ago

Thanks @knownasilya I'll take a look at it!

simov commented 10 years ago

I ended up rolling my own query builder instead. Also I moved all query generation related code to one common place https://github.com/simov/express-admin/tree/master/lib/qb

knownasilya commented 10 years ago

@simov nice!