Im using knex + objectionjs with Azure SQL database and I have a trigger in my main table to insert to audit table. When I try to use insertGraph on the table, it returns me the error "DML statement cannot have any enabled triggers if the statement contains an OUTPUT clause without INTO clause".
I saw a resolution in knex for this to set includeTriggerModifications to true. But is there any option to set this to true using Objection? I want to use insertGraph since there are many related tables and not the knex.insert.
Im using knex + objectionjs with Azure SQL database and I have a trigger in my main table to insert to audit table. When I try to use insertGraph on the table, it returns me the error "DML statement cannot have any enabled triggers if the statement contains an OUTPUT clause without INTO clause".
I saw a resolution in knex for this to set includeTriggerModifications to true. But is there any option to set this to true using Objection? I want to use insertGraph since there are many related tables and not the knex.insert.
Any help would be appreciated.
Thanks!