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

PostgreSQL arrays #9

Open
taai opened this issue May 16, 2012 · 2 comments
Open

PostgreSQL arrays #9

taai opened this issue May 16, 2012 · 2 comments

Comments

@taai
Copy link

taai commented May 16, 2012

I hope to see an array support for PostgreSQL. Read more about Arrays here: http://www.postgresql.org/docs/9.1/static/arrays.html

@cbandy
Copy link
Owner

cbandy commented May 16, 2012

To define a column as an array, it is sufficient to pass 'integer[]' to DDL_Column::type(). I suppose you'd like an object that converts a PHP array to the PostgreSQL array literal syntax?

e.g. array(1,2,3)'{1,2,3}'

@taai
Copy link
Author

taai commented May 16, 2012

Yes, that would be great to just work with automatically converted (vice-versa) arrays, instead of converting them manually. Just consider it. ;)

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

2 participants