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

[Pg]: add array keyword support #3782

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tscritch
Copy link

Resolves #2861 and #2904

Previously if a raw sql string was used with the ARRAY keyword definition the defaultForColumn function would not know how to parse it. Now the defaultForColumn function will return early if the ARRAY definition is used.

I chose jsonb column type in the test as it was a slightly more complicated scenario than just text or other column type.

Previously if a raw sql string was used with the ARRAY keyword definition the `defaultForColumn` function would not know how to parse it. 
Now the `defaultForColumn` function will return early if the ARRAY definition is used
@tscritch tscritch changed the title [Pg]: add json(b) array keyword support [Pg]: add array keyword support Dec 16, 2024
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.

[BUG]: Not properly handling default value on column of type _jsonb, an array of jsonb in postgres.
1 participant