Hello, all...
I'm new to Sequelize and have a question: I have a table that contains about 130k rows; I need a query that will return ALL rows from that table. I am trying to do a bulk "sequelize.query" on the table, as returning 130k entities may be a bit much (or am I wrong?)... so, I'm doing something like this:
sequelize.query("select * from bigass_table", { type: sequelize.QueryTypes.SELECT, raw: true })
.then(function(results) {
doSomethingWith(results);
});
But, I'm only getting back the first 100 rows. I'm sure this has been answered somewhere, but I can't seem to come up with the correct Googling to find the answer, so: How do I tell Sequelize to return ALL rows instead of just the first 100?
Any help or points to the correct location in the documentation would be awesome, so thank you in advance!