alonmiz
DTDrizzle Team
•Created by alonmiz on 5/8/2024 in #help
Trying to create a query - with left join limit 1 and order by
i want to search for all the cards with the last activity (one, ordered by createdBy)
this is the naive implementation
the issue is with ".where", as im getting this error
error: invalid reference to FROM-clause entry for table "Cards"
i can overcome this with findMany + with but i need another many to many join there that is not supported by the query mechanism
i would love for some help pls 🙂3 replies