Latest #many_to_many Threads Top

roganjoshua
Scenario Players may belong to many games and each game may have multiple players. When I go to my games I want to see all my games and...
New
roganjoshua
I have a many_to_many relationship ( I guess there really isn’t such a thing) but a junction table nevertheless. erDiagram USER_GAME...
New
oelshark89
Hello Ash community, happy to be part of this family! I’m running into an issue while building a knowledge base. Each entry in my knowle...
New
kamaroly
Hi all, I have a Item resource that has a many_to_many relationship with Category resource through ItemCategory resource. I can create,...
New
WammKD
So I have a table of ItemA which has a many-to-many mapping to ItemB. In the changeset of ItemA, the ItemB association gets preloaded an...
New
amirOrbe
Hi :slight_smile: , I am trying to save data from an appointment form in which there is a many-to-many relationship (one appointment can...
New
amirOrbe
Hi everybody :slight_smile: I am creating a web application for a friend who has a beauty aesthetic, the application has a couple of sect...
New
MatijaL
Hi guys, I’m trying to build something similar to Twitter where users can follow other users. I’m not sure exactly how to properly creat...
New
TwistingTwists
I have a quiz. and a question. and relation is. quiz many_to_many question question many_to_many quiz via quiz_question Now, I wan...
New
Nicemaker
I have a Product schema with a many_to_many relation for Tags. On the Edit Product Page I want to create a simple form that looks like t...
New

This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

oelshark89
Hello Ash community, happy to be part of this family! I’m running into an issue while building a knowledge base. Each entry in my knowle...
New
roganjoshua
Scenario Players may belong to many games and each game may have multiple players. When I go to my games I want to see all my games and...
New
roganjoshua
I have a many_to_many relationship ( I guess there really isn’t such a thing) but a junction table nevertheless. erDiagram USER_GAME...
New

Last Three Year's Trending Top

amirOrbe
Hi :slight_smile: , I am trying to save data from an appointment form in which there is a many-to-many relationship (one appointment can...
New
TwistingTwists
I have a quiz. and a question. and relation is. quiz many_to_many question question many_to_many quiz via quiz_question Now, I wan...
New
rbino
Hi everyone! In my application, I’m trying to model a DailyMenu that has a many_to_many relationship with a Dish, through a DailyMenuDis...
New
Nicemaker
I have a Product schema with a many_to_many relation for Tags. On the Edit Product Page I want to create a simple form that looks like t...
New
kamaroly
Hi all, I have a Item resource that has a many_to_many relationship with Category resource through ItemCategory resource. I can create,...
New
colin
I’m struggling trying to setup a many_to_many relationship for Tags. I’d like to create an action that updates the tags by providing the ...
New
MatijaL
Hi guys, I’m trying to build something similar to Twitter where users can follow other users. I’m not sure exactly how to properly creat...
New
amirOrbe
Hi everybody :slight_smile: I am creating a web application for a friend who has a beauty aesthetic, the application has a couple of sect...
New
WammKD
So I have a table of ItemA which has a many-to-many mapping to ItemB. In the changeset of ItemA, the ItemB association gets preloaded an...
New

Trending Over Three Years Top

Secretmapper
This seems like an easy query (and it is) but my Google fu is completely failing me for some reason. I have a model tag and a model post...
New
crusso
I have roles and permissions schemas in many_to_many relationships: schema "roles" do field(:name, :string) many_to_many(:per...
New
arunkarottu
cast_assoc doesn’t seem to work when I create or update with an existing item in the many_to_many relationship and the item has a require...
New
LSylvester
I have a query I want to run on a user object. I’m using Select to reduce the throughput from the database. Each user has a many to man...
New
svilen
I’m trying to set up the usual many-to-many relationship between two schemas: User and Conversation. However, the primary key on the conv...
New
ryanditjia
Hello peeps, I feel this query isn’t concise (or isn’t Ecto-y) enough: def list_posts_for(tag_id) do query = from(pt in PostTag, ...
New
jjabba
I’ve been setting up a many-to-many relationship between two tables, actors and entities. Following the documentation here Ecto Associati...
New
hudsonbay
hello, I have a sku_store many to many relation. I’m trying to delete the relations in this list: # This map is what I'm sending to the...
New
lou00011
Jump off point, same problem, but this solution isn’t working for me. I have a many_to_many association. Even after getting put_assoc ri...
New
tanweerdev
I have this query #Ecto.Query<from i0 in HaiData.Infection, left_join: e1 in assoc(i0, :encounter), left_join: f2 in assoc(i0, :faci...
New
magosi
Hi. In my application I have a many to many association between Product and Tag schemas which goes through the ProductTag table. Quite st...
New
chrisdel101
I’ve spent several days trying to make my this work, connecting my tables using Ecto Association Guide – Ecto v2.2.11 I think Many-to-m...
New
njwest
Hiya, we’re designing PostgreSQL schemas for an app that has Users, and the user has Things of different types as well as Affinities for ...
New
borybar
Hi, I am following instructions from a blog - Many to many associations in Elixir and Phoenix - DEV Community I am trying to allow a use...
New
Isac
Hello! I’m working on a chess-like ranking site where a player can add a game played between him and an opponent and then select the win...
New
  • Follow
  • Join
  • Shape
the conversation

Latest on Elixir Forum

Elixir Forum

Similar Portals

    None added yet

We're in Beta

About us Mission Statement