Skip to content
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

Parse Postgres citext column type as string #89

Closed
billy1624 opened this issue Dec 6, 2022 · 0 comments · Fixed by #94
Closed

Parse Postgres citext column type as string #89

billy1624 opened this issue Dec 6, 2022 · 0 comments · Fixed by #94

Comments

@billy1624
Copy link
Member

billy1624 commented Dec 6, 2022

Motivation

citext data type in Postgres is similar to string but it's case-insensitive. We can treat it just like string.

Proposed Solutions

Parse citext column as sea_query::ColumnType::String(None) sea_query::ColumnType::Custom("citext")

Related Discussion

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 a pull request may close this issue.

1 participant