repro + context here - https://github.com/sammccord/drizzle-relations-repro It seems like the query goes through fine, but the row comes back as json and not a list of values, so trying to access the fields by index won't work.
Not sure if it's a bun or drizzle issue, but since the query works fine it could be a simple parsing fix but I'm not 100% the best way to go about fixing it myself.