© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3mo ago•
15 replies
eliasab

Foreign key relationship isn't one to one

🟢SQLSolved🟡javascript
I have two foreign keys, both of which are set to primary in their respective tables. But when I generate the types, the filed "isOneToOne" is set to "false", and I'm getting an array type.

I'm using typescript
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

inner join without foreign key relationship
SupabaseSSupabase / help-and-questions
3y ago
Why does this simple foreign key one-to-many relationship give Typescript errors ?
SupabaseSSupabase / help-and-questions
4y ago
linking multiple foreign key to a single one
SupabaseSSupabase / help-and-questions
3y ago
One-to-one relationship
SupabaseSSupabase / help-and-questions
4y ago