Skip to content

Many-to-many relationships not inserting in pivot table #107

Description

@zalito12

Bug report

Describe the bug

I have tried lot of things, but I cannot find the way so the client inserts many-to-many relationships between tables.

I have all the PK and FK configures, I even recreate the example from the docs with movie and person table, tried querying for the related person first, I don't know, may be I'm missing something or may be this is not supported. I couldn't find any innformation on this topic.

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Go to Supabase and create movie and person tables like the example
  2. Create the models as the examples
  3. Create some persons in the supabase web client
  4. Insert a new Movie referencing an existing person
  5. The pivot table is empty, no reference is inserted.

Expected behavior

I was expecting the client to insert the reference between the two models.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions