Due to knex/knex#2682, add operations in MySQL require an id to be passed, otherwise Kurier won't return the resource ID on the result of the operation.
|
const ids = await this.getQuery().insert(dataToInsert, primaryKeyName); |
This insert + RETURNING syntax works only on engines such as PostgreSQL or Oracle.