allow array relationships based on array type columns
See original GitHub issueIt is possible to have array relationships to directly map to an array field in postgres without any middle table connection.
Conversations table
add_column :conversations, :user_ids, :uuid, array: true
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:7 (2 by maintainers)
Top Results From Across the Web
How to store arrays in MySQL? - database schema
The proper way to do this is to use multiple tables and JOIN them in your queries. For example: CREATE TABLE person (...
Read more >Array to array relation with AND condition - Glide Community
I want to match 2 array columns in two different sheets with a relation and get only those matches which are a AND...
Read more >Working with Spark ArrayType and MapType Columns
This blog post will demonstrate Spark methods that return ArrayType columns, describe how to create your own ArrayType / MapType columns, and explain...
Read more >Work with arrays in Google Standard SQL | Cloud Spanner
In Google Standard SQL for Spanner, an array is an ordered list consisting of zero or more values of the same data type....
Read more >Database Column Type - Array - Flatiron School
Instead, we can transpose our data from a horizontal array to a _vertical_array. We can do this easily in database speak by creating...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This isn’t working in Hasura v2.0.0-alpha.9, produces error:
"error": { "exec_status": "FatalError", "hint": "No operator matches the given name and argument types. You might need to add explicit type casts.", "message": "operator does not exist: bigint[] = bigint", "status_code": "42883", "description": null },
any news in this? ^^ many customers have this issue (many open issues). Yes, intermediate table is a solution but we want to avoid it.