Skip to content

Can't Create Gin Index #987

@nahtnam

Description

@nahtnam

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions