Great video! I have a question: how do you handle a many-to-many relationship in JavaScript? In my SQL query, I use '*, owner:users!owner_id(*)' to get a type ...owner: {}, but instead, I receive ...owner: {}[], a list, when there should only be one unique owner.
Love these type of Postgres video
Hi Jon, I've needed to get better at this for a while. Thanks.
👏
Great video! I have a question: how do you handle a many-to-many relationship in JavaScript? In my SQL query, I use '*, owner:users!owner_id(*)' to get a type ...owner: {}, but instead, I receive ...owner: {}[], a list, when there should only be one unique owner.
How to handle many to many relation via the client sdks that are available specially for Javascript.?
Because we are using sdk for app and website.