Skip to content

How to get node id list into column #2216

Answered by joto
iboates asked this question in Q&A
Discussion options

You must be logged in to vote

Quoting this chapter in the documentation: For special cases you usually want to keep the type field unset and only set the sql_type field. So if you want to have an array of integer column, for instance, set only the sql_type to int[]. The type field will default to text which means you have to create the text representation of your array in the form that PostgreSQL expects it.

See the PostgreSQL docs for that.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by joto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants