Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
Description
The connector attaches the column metadata to a result array as a non-enumerable meta property, defined without configurable. Deleting it therefore throws in strict mode. Sequelize's MariaDB dialect does exactly that on raw results, delete data.meta, so every sequelize.query(sql) without a query type fails with "Cannot delete property 'meta' of [object Array]"
The property is now defined configurable on query, execute and batch results. It stays non-enumerable by default, as before.