Hacker News new | past | comments | ask | show | jobs | submit login

It's not a dichotomy between raw SQL and ORMs.

Here's your query in knex, a query builder for JS:

    knex.insert({ bar: 'bar', baz: 'baz' }).into('foo')



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

Search: