Genie Discord forum

Author AvatarPatoche
9/6/2023, 3:01:51 PM

I am quite new to database design. I want to have a users table connected to a transactions table using a foreign key. Is this something that's possible using a SearchLight model? I don't see anything about it. Maybe I can just manually do it... ?

Author AvatarPere
9/11/2023, 3:55:35 PM

in SearchLight relationships are defined at ORM/code level to be cross-platform. And, the implementation is somewhat limited - we only support many-to-many (which covers all the uses cases) via a relationship table