We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello :
When I do :
Model.findAll({ schema: {'4cfdc1df-a993-4029-8009-d9c2e5b46db3'}}).then(result => console.log(result))
the data is fetched from the public schema in the database, but when I do :
Model.findAndCountAll({ schema: {'4cfdc1df-a993-4029-8009-d9c2e5b46db3'}}).then(result => console.log(result))
the data is fetched from the intended schema as expected.
Two commands must return the same data from the right schema
findAll() is returning allways data from the public schema. findAndCountAll() is working as expected
__Dialect: postgres __Sequelize version: 4.42.0 __Tested with latest release: No
The text was updated successfully, but these errors were encountered:
I don't think we support passing schema option in both findAll and findAndCountAll, model can have a schema, which worked properly for me.
schema
findAll
findAndCountAll
Please submit SSCCE to I can reproduce this issue
( What is SSCCE ? You can find template for Sequelize here )
A few good example of SSCCE
removeAttribute('id')
undefined: null
Sorry, something went wrong.
No branches or pull requests
Hello :
What are you doing?
When I do :
the data is fetched from the public schema in the database, but when I do :
the data is fetched from the intended schema as expected.
What do you expect to happen?
Two commands must return the same data from the right schema
What is actually happening?
findAll() is returning allways data from the public schema. findAndCountAll() is working as expected
__Dialect: postgres
__Sequelize version: 4.42.0
__Tested with latest release: No
The text was updated successfully, but these errors were encountered: