DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
knex.js count
knex('users').count('active', {as: 'a'})Outputs:select count(`active`) as `a` from `users`
Source by knexjs.org #
PREVIOUS
NEXT
Tagged:
#count
ADD COMMENT
Topic
COMMENT
Name
8+9 =
Submit