3 ms·
True that Node.JS didn't have, and still doesn't have a 2 liner to pop an sqlite db. But what it did have(a few years after its launch) was a pure-JS sqlite cli
by kapv89 8y ago
True that Node.JS didn't have, and still doesn't have a 2 liner to pop an sqlite db. But what it did have(a few years after its launch) was a pure-JS sqlite client which can leverage V8's event loop and libuv to make parallel execution of db-queries a trivial operation.
There is a lot of mettle in Node.js for server side programming.
PS: have you looked at TypeORM(http://typeorm.io/ http://typeorm.io/)
- sametmax 8y agoNodeJS event loop is fantastic. However, it's not that relevant for most db workload. We had the same debate in Python: do we async our db libs or keep using threads ? Experts say: http://techspot.zzzeek.org/2015/02/15/asynchronous-python-and-databases/ http://techspot.zzzeek.org/2015/02/15/asynchronous-python-an... And this is despite the way the Python community adopted libuv with the uvloop lib. TypeORM does look super nice, thanks. Does it handle well introspection ?