Elimination of inset/update result, introduced in v3.3.0, does not work when used on relations. For example:
await cc._.relations.rights.insert(
rightsToSave.map((r) => ({
ar_rig_id: r.rig_id,
ar_modifay: true,
})),
{ select: 'none' }
)
Knex log shows that a select statement is still made when using the new flag.
Elimination of inset/update result, introduced in v3.3.0, does not work when used on relations. For example:
await cc._.relations.rights.insert(
rightsToSave.map((r) => ({
ar_rig_id: r.rig_id,
ar_modifay: true,
})),
{ select: 'none' }
)
Knex log shows that a select statement is still made when using the new flag.