-
I'm having trouble figuring out how to set the order of the nested data on a query.
My model is as follows:
```
Bucket
WalkthroughBucket //defined as 'through' table, but also has it's own 'displayO…
-
I am unable to use MSSQL on neither OS X nor Windows using iojs 3.2/node 0.12.7 (tried both). I'm attempting to connect to a DB hosted in Azure (I'm able to connect using Visual Studio without a probl…
-
Right now all SQL queries are inline. The model and querying model are not aligned. It's not clear what the schema of the underlying data structure is. Try moving to an ORM (object-relational mapper) …
-
## What you are doing?
about autoIncrement primaryKey ,use bulkCreate function, response id=null. but use create is right
__Dialect:__ mysql
__Database version:__^2.13.0
__Sequelize version…
-
## What you are doing?
I'm trying to graceful exit the process cleaning the db connections.
```js
process.exit(1)
// or
throw new Error("foo")
// or
notExsistingFunction()
// or
lastCommand…
-
I'm using PostgreSQL 9.4.1, nodejs 0.10.33, pg~4.4.0, pg-hstore~2.3.2, and sequelize~3.2.0.
Here's the code:
``` javascript
'use strict';
var Sequelize = require('sequelize');
var sequelize = new …
dmfay updated
7 years ago
-
I was using sequelize: "^3.30.4" belongsTo as following
**classMethods: {
associate: function (models) {
Jobs.belongsTo(models.Employers);
…
-
As per #165 there was an issue with migration was executed on DB in state that do not need it.
>Regarding migration mess: that needs to be fixed as well, I use mechanism defined here http://docs.sequ…
-
http://docs.sequelizejs.com/en/v3/
https://github.com/sequelize/express-example
https://github.com/sequelize/cli
-
## What you are doing?
trying to add associations and save them to database
```js
var Device = models.Device;
var Log = models.Log;;
var logs = [
{
"message_level" : 1,
…