Raw query doesn't generate a version row.
Opened this issue · 1 comments
mjdavidson commented
How can we keep track of rows that are created using a raw query
ivmarcos commented
Hi @mjdavidson! This lib uses sequelize hooks (afterCreate, afterUpdate, afterDestroy, afterSave, afterBulkCreate
) and raw queries are not supported. By using a raw query, sequelize can't know what is being persisted or changed. If you really need to use raw queries to persist something, you will either have to insert the changes using some logic on your server, or more deeply, using a trigger attached to your database, for example, if it provides. I'll put this information in readme ok.