bomber
DTDrizzle Team
•Created by sexnine on 7/6/2023 in #help
[Relational Queries] Nullable one-to-one relationship
hi, I ran into the same thing, is there any way to make a nullable one relationship?
here's a smaller example schema:
I'm trying to be able to query like this:
and get typeof users:
instead of:
my actual use case is an
organization
table (the user
in the example) that can optionally have a config per country, so there are other tables like argentina_organization
and colombia_organization
with fks to organization
8 replies