Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

knex last insert id mysql

knex('users').max('age')Outputs:select max(`age`) from `users`
Source by knexjs.org #
 
PREVIOUS NEXT
Tagged: #knex #insert #id #mysql
ADD COMMENT
Topic
Name
3+6 =