Siumauricio
DTDrizzle Team
•Created by Siumauricio on 9/5/2023 in #help
one to one query
I have a 2 models relation one to one,
visit
and visit_log
, visit_log
stores the visitId for reference to the visit table
This is the result that I want, however I want to use a where inside visitLog to filter by status
in other hands this is working but typescript is throwing error
The result I want
both are working but the first one i'm not able to filter on visitLog object.
in the second aswell are working but there are typescript errors .9 replies