v1.10.0
What's Changed
Example usage of the .update() function with unordered parameters
await qb.update({
tableName: 'testTable',
data: {
my_field: 'test_update',
another: 123,
third_field: 'third value',
},
where: {
conditions: ['field = ? AND another_field = ?', 'id = ?'],
params: ['test', 'another_test', 345],
},
}).execute()Full Changelog: v1.9.0...v1.10.0