node-orm-timestamps
node-orm-timestamps copied to clipboard
node-orm2 plugin to provide automatic timestamping support for models
Hi when i set persist to true orm-timestamp throws a "Maximum call stack size exceeded" error Here is full stack trace and error: ``` (node:7632) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection...
I added this code in my project: -- var orm = require("orm"); var modts = require('orm-timestamps'); orm.settings.set("instance.returnAllErrors", true); orm.settings.set("connection.reconnect", true); orm.settings.set("connection.pool", true); orm.settings.set("connection.debug", true); orm.connect("mysql://root:@localhost/laser_control", function (err, db) { if...
Just a suggestion, maybe add functionality for 'soft deletes', which will be updated when the row is 'deleted', then excluded from further searches (unless set to include deleted entries)
This would be cool but not mandatory. Perhaps it needs some more integration between plugins and models/instances. The idea would be to have the possibility to read this methods but...