Seems like both Join and relations are equally capable when query data that have relationships. I'd assume that if one is already using Drizzle relations (with
with
with
field), then one wouldn't need to use
.join()
.join()
, and vice versa.
Is there a reason one should use JOIN vs. relations, or is it personal preference?