-
## What you are doing?
updating an instance with option.raw = true
```
instance.update(values, {raw: true}).then(...)
afterUpdate(instance, options, done) {
console.log('moo');
…
-
Can you give a quick example of how I would run migrations generated by the CLI using this?
-
This page has several menu items like `createTable` which are only copied by names with no other content:
http://docs.sequelizejs.com/en/latest/docs/schema/
Are there any parts of documentation …
-
Define fields, key, constraints for all the entities and create the table.
-
In light of request to support inner-query (#103), compound query (on Slack), etc. In last product meeting, people have agreed we would try to have two features and see if developers are happy with th…
-
General review, migration of articles and a landing page
Make it clear that a model is just a class
-
## welcom ...
i don't know what happened here
I just want to print votes attribute that i included to SUM Reputations value of post
```js
const query = {
attributes: { include: [ db.seq…
-
Hi,
I have tried to use the library but unfortunately I am getting an error at the step when the revision gets built. It seem that opt.model.name property is undefined in my case. Is there a specific…
-
## What you are doing?
Part of my model attributes include a composite unique key as follows:
```
{ ...
branch_id: {
type: sequelize.INTEGER,
allowNull: false,
unique: 'oneBranchS…
-
## Escape Wildcard characters
I have to generate following query:
```sql
SELECT * FROM `table` WHERE `value` LIKE '%|%username%' ESCAPE '|';
```
But when I pass in function:
```js
sequelize.esc…