rgarand

Results 1 comments of rgarand

We needed the same thing (just to sort on the presence of the joined row) and used something like this: db.query.members.findMany({ orderBy: [desc(sql`"members_user"."data" IS NULL`)], with: { user: true },...