I removed the () from require('sql-bricks')(). It was the only way I could get the code to work. I'm guessing the code was updated but not yet the docs.
Good catch, @cultofmetatron -- thanks! You're right, the function-call syntax was briefly added -- and then subsequently removed -- but the docs weren't updated to match. Merging.
I removed the () from require('sql-bricks')(). It was the only way I could get the code to work. I'm guessing the code was updated but not yet the docs.