Skip to content

Conversation

@Japestrale
Copy link

Had a conversation with Rich that can be found -> (https://graphiti-api.slack.com/archives/C5A4UEMGS/p1606923424312700).

Specifying the _type attribute of a polymorphic_has_many as a string_enum rather than a string will ensure that eql is used instead of eq when making database queries. This ensures that the database query does not use LOWER and bypass indexes.

Had a conversation with Rich that can be found -> (https://graphiti-api.slack.com/archives/C5A4UEMGS/p1606923424312700).

Specifying the `_type` attribute of a `polymorphic_has_many` as a string_enum rather than a string will ensure that `eql` is used instead of `eq` when making database queries.  This ensures that the database query does not use LOWER and bypass indexes.
@Japestrale Japestrale closed this Jun 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant