Skip to content

How to handle 2 ForeignKeys to the same Table? #115

Closed Answered by acupofjose
Morethna asked this question in Q&A
Discussion options

You must be logged in to vote

@Cegoco11 it was useful indeed! Thanks for diving into that.

@Morethna - This should be supported in postgrest-csharp v3.2.8 - waiting on the nuget publish to complete.

You can see how relationships are defined here:
https://github.com/supabase-community/postgrest-csharp/blob/99af1c74715f0fc3738e85ffbda9abef583dfd14/PostgrestTests/Models/ForeignKeyTestModel.cs#L1-L18

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Morethna
Comment options

@Cegoco11
Comment options

@acupofjose
Comment options

Answer selected by Morethna
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants