Data type/column type: array

Open
#48 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
fsharp, postgresql, sql
Domain
databases

Research direction

Start with the PostgreSQL arrays documentation and Rezoom SQL's PostgresFunctions documentation, which the issue links, then trace how PostgreSQL column types are represented in migrations. Done would require an agreed workaround or a defined path for array-column support.

Written by the indexing model from the issue text.

Description

PostgreSQL supports arrays as a datatype:
https://www.postgresql.org/docs/9.1/arrays.html

For instance, a table blogposts could contain a column named tags which would be of type text[].

I want to write a migration where a table is created with such field. I couldn't find anything about arrays in Rezoom, is there something I missed or any workaround for it?

EDIT: OK, I just found https://rspeele.gitbooks.io/rezoom-sql/doc/Language/Functions/PostgresFunctions.html noting that arrays are not supported nor planned. Still, I would be glad to see a workaround (by using Postgre's arrays feature).

Dominant language
F#
Stars
680
Forks
23
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from fsprojects/Rezoom.SQL

All issues in fsprojects/Rezoom.SQL

Similar issues

More Databases issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.