tgriesser/knex — pull request #207 by kobalicekp (2014-03-19 12:52:45+00:00)
Title: [Improvement] Replaced push.apply() calls with custom concat() function.

Replaced push.apply() calls with custom concat() function so the V8 stack will not exhaust when a complex query is being processed. It doesn't change the behavior in Knex (tests are passing), it just uses different approach to concatenate to an existing array and provides ability to simply reimplement 'concat' function if new, better approach has been found.

With this change we can run really complex queries on our server without V8 terminating the app.