Skip to content

Can't Create Gin Index #987

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

Closed
nahtnam opened this issue Feb 10, 2024 · 0 comments
Closed

Can't Create Gin Index #987

nahtnam opened this issue Feb 10, 2024 · 0 comments
Milestone

Comments

@nahtnam
Copy link

nahtnam commented Feb 10, 2024

Description and expected behavior

Trying to create the following index: @@index([content(ops: raw("gin_trgm_ops"))], type: Gin) but I get the following errors:

line 30: Could not resolve reference to FunctionDecl named 'content'. []
line 30: Could not resolve reference to FunctionDecl named 'raw'. []
line 30: Value is not assignable to parameter []
line 30: expression cannot be resolved []
line 30: expression cannot be resolved []
line 30: expression cannot be resolved []
line 30: function cannot be resolved []
line 30: function cannot be resolved []

Screenshots
N/A

Environment (please complete the following information):

  • ZenStack version: 1.8.1
  • Prisma version: 4.0+
  • Database type: Postgresql

Additional context

https://discord.com/channels/1035538056146595961/1205407743335211018/1205407743335211018

You can use passthrough as a workaround

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants