liczenie knex.js

knex('users').count('active', {as: 'a'})Outputs:select count(`active`) as `a` from `users`
Witty Worm