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
It's problem with typescript type definition.
There's neither "using" nor "operator" options in "ModelIndexesOptions" interface located in "types/lib/model.d.ts"
So it causes compilation error when designate indexes in model definition example
{ fields: ["firstName"], using: "gin", operator: "gin_trgm_ops", }
There's no error using @types/sequelize
No error in typescript compilation
Dialect: postgres Dialect version: XXX Database version: PostgreSQL 10.7 Sequelize version: 5.7.0 Tested with latest release: Yes 5.7.0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What are you doing?
It's problem with typescript type definition.
There's neither "using" nor "operator" options in "ModelIndexesOptions" interface located in "types/lib/model.d.ts"
So it causes compilation error when designate indexes in model definition
example
There's no error using @types/sequelize
What do you expect to happen?
No error in typescript compilation
Dialect: postgres
Dialect version: XXX
Database version: PostgreSQL 10.7
Sequelize version: 5.7.0
Tested with latest release: Yes 5.7.0
The text was updated successfully, but these errors were encountered: