-
It would be nice if column getter is available.
```js
db.model('people', {
name: String,
age: Number,
email: String,
uid: {
type: Number,
primary: true,
get: (value) => `m…
-
When generating a service that uses Sequelize, the models are using the older 3.x way of defining a model.
1. Either lock down the version of Sequelize to 3.x
2. Or update the model definition tem…
-
It seems that "associate" in the following code is never called.
It does not even exist in User.
```JavaScript
var User = sequelize.define('User', {
username: DataTypes.STRING,
password: …
-
Father:
``` js
module.exports = function(sequelize, DataTypes) {
var Father = sequelize.define("father", {
name: {
type: DataTypes.STRING,
unique: true
}
…
-
I'm using SequelizeJs as Active record on my system and I need validate different fields of my model based on the application current scenario.
So, if my model has the fields "name" and "email" I'd l…
-
What are your thoughts on adding the ability to have a columnOption that specifies which columns to add to the WHERE condition in UPDATE statements?
You could have TypeORM check all columns or simp…
-
_Thanks for wanting to report an issue you've found in Sequelize. Please delete this text and fill in the template below. If unsure about something, just do as best as you're able._
_Note that it w…
-
I'm having some problems with Sequelize associations, that not working, basically the same problem of #126 , but is it needs to be using postgresql. Also, I tried [this](https://stackoverflow.com/ques…
-
## I'm using Sequelize version 4.2.1 and Mysql2. Relation columns and foreignKeys not created
## models/brand.js:
```javascript
'use strict';
module.exports = function (sequelize, DataTypes) {
…
-
### Steps to reproduce
1. Create app with feathers-cli
2. Add service that connects to a SQLite DB using Sequelize
3. Use the hydrate() hook after any service method
See: http://docs.sequelize…