Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

knex update and fetch result mysql

const data = await db('user')
.where('userId', '818f68e5-bf7f-418c-8e8e-19f3b25cb9c3')
.update({ about: 'Alice in Wonderland' }, '*', { includeTriggerModifications: true })
 
PREVIOUS NEXT
Tagged: #knex #update #fetch #result #mysql
ADD COMMENT
Topic
Name
6+9 =