-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Selecting Data using Sequelize from existing mysql db #3791
Comments
|
Please make the effort to actually format your code. |
So, could you please recheck the thing |
|
Ok, so first it's a bug in sequelize-auto then (as the model are sequelize-auto generated).
|
Are you sure the table name ( |
yes, indeed, table name is |
@VovanSuper Start by verifying your models. sequelize-auto hasnt been updated as far as i can tell and no one from the Sequelize team knows anything about it. |
Trying to work with existing MySql with node.js database using generated models (sequelize-auto) returns no data (empty array). Even though with sql driver there's resulting set:
-returns ok. But I try to use sequelize's auto-generated model (sequelize-auto):
using sequelize v1.7 and v3.0 : -connection:
It shows select * from user where \username
like \'%com%\' limit 10
and times-out after some seconds with no resultsThe text was updated successfully, but these errors were encountered: