Frikkie van Biljon

Results comments of Frikkie van Biljon

Hi, here is the model definition for the Revision: module.exports = function (sequelize, DataTypes) { var Revision = sequelize.define("Revision", { revisionID: { type: DataTypes.INTEGER, primaryKey: true, autoIncrement: true }, documentID:{...

Here is a diagram of the relationships up to document. ![diagram 1](https://cloud.githubusercontent.com/assets/12975898/10279724/339498c6-6b68-11e5-88fe-66dd33dc1d4e.png) The model definition for document is as follows: module.exports = function (sequelize, DataTypes) { var Document = sequelize.define("Document",...

By removing the "limit:1" from the find, I was able to retrieve all the revisions with their related soft copies, however I would like to have a way to only...

It looks like the Unique constraint in the Revision model is the problem. ``` revisionNumber: { type: DataTypes.DECIMAL, validate: { isUnique: function (value, next) { Revision.find({ where: { documentID: this.documentID,...

With Navicat Premium. GUI The incorrect value is what is being returned from our API. The value in question doesn't go through any processing. It is just part of the...

I've stumbled upon this post and I suspect that the problem might be with tedious: https://github.com/tediousjs/tedious/issues/391

Is there a way for me to use a different MSSQL driver? If so, can you be so kind as to point me to the documentation for this? Thank you!

Now I have included it and it is working fine. Thanks for the help. I missed this somehow.

Hi, hope you are well. Is there any feedback on this problem maybe? :)