-
I'm having a look at Budibase to potentially replace a custom video game collection tracker I wrote in Laravel last year, and so far it ticks most of the boxes I'm after, but I'm wondering if one-to-one relationships are possible at all. In my existing tracker, I have two tables called Logically, there should only ever be one purchase and one sale for any one item, because I can't sell one Super Nintendo to two people, nor can I buy one Super Nintendo from two people, so I'd like a one-to-one relationship, but it seems like Budibase (nor Nocodb, nor Baserow) don't have one-to-one available. Is there a reason for this? Should I put in a request to have the feature added? A workaround would be for me to just add the columns from the |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 10 replies
-
Hi @Grayda, I had the same problem once. I think that one potential way would be:
|
Beta Was this translation helpful? Give feedback.
-
Hey @Grayda - the reason for us not having this relationship type is because it can be accomplished by having everything in one table. I can see why you would want to separate them, but ultimately it's a "Nice to have". Therefore, other features take priority, when we choose what to build. @erakastrati thanks for your suggestion :) |
Beta Was this translation helpful? Give feedback.
-
Not sure if this is related; but with a relationship column, if you sort, it sorts on 'something' but not what you expect (namely, the display field that is showing from the related table); 1-1 can do that, for other relations that might be harder. But then maybe it is better to remove the sort header for relationship fields totally because now it just seems to sort on something invisible (the id? or?). Or maybe I'm doing something wrong. |
Beta Was this translation helpful? Give feedback.
-
Is it just me that got thrown off by this documentation? It surely implies there's one-to-one relations right? |
Beta Was this translation helpful? Give feedback.
Hey @Grayda - the reason for us not having this relationship type is because it can be accomplished by having everything in one table. I can see why you would want to separate them, but ultimately it's a "Nice to have". Therefore, other features take priority, when we choose what to build.
@erakastrati thanks for your suggestion :)