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

Does this support Postgres array type? #4

Open
bfkelsey opened this issue Sep 18, 2017 · 3 comments
Open

Does this support Postgres array type? #4

bfkelsey opened this issue Sep 18, 2017 · 3 comments

Comments

@bfkelsey
Copy link

Do you have support or any plans to support Postgres array?
https://www.postgresql.org/docs/9.1/static/arrays.html

@orangy
Copy link
Owner

orangy commented Sep 18, 2017

No, right now I try to support a uniform basic SQL functionality. Not exactly ANSI SQL, but whatever can be represented in most databases. I plan to introduce extensions for specific databases later, though you can do it yourself, if you wish.

@dudleyf
Copy link

dudleyf commented Sep 19, 2017

@orangy Could you say a little more about what you were thinking as far as database-specific extensions? I've been thinking about doing just that for Postgres.

@codesplode
Copy link
Contributor

@dudleyf I've been working in the squash source for a little bit now. I use MySQL, but I have found my way around quite a bit. Given how busy @orangy is with the Kotlin team, I figured I would try to help. The class you want to look at is PgDialect. It looks like @orangy already did some postgres specific work there, but it is a good place for working with new column types.

See: PgDialect.kt

My team uses MySQL, but I have looked at the unit tests for all databases and recommend those as a good start for seeing how squash interacts. That's where I started and it helped a lot.

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

No branches or pull requests

4 participants