Jaymal
DTDrizzle Team
•Created by Jaymal on 4/4/2024 in #help
Timestamp formatted differently if fetched as relation rather than directly
Done, I appreciate the support 🙂
19 replies
DTDrizzle Team
•Created by Jaymal on 4/4/2024 in #help
Timestamp formatted differently if fetched as relation rather than directly
Cool - have created an issue here - https://github.com/drizzle-team/drizzle-orm/issues/2282. I've just linked to this thread atm, but I can copy in the detail if that's helpful?
19 replies
DTDrizzle Team
•Created by Jaymal on 4/4/2024 in #help
Timestamp formatted differently if fetched as relation rather than directly
@Dan Kochetov I've put
...
to hide fields which shouldn't be relevant. Hopefully that's enough for you to go on?19 replies
DTDrizzle Team
•Created by Jaymal on 4/4/2024 in #help
Timestamp formatted differently if fetched as relation rather than directly
Farms schema:
Assessment schema:
19 replies
DTDrizzle Team
•Created by Jaymal on 4/4/2024 in #help
Timestamp formatted differently if fetched as relation rather than directly
Query for standalone farm:
Query for assessment with farm:
19 replies
DTDrizzle Team
•Created by Jaymal on 4/4/2024 in #help
Timestamp formatted differently if fetched as relation rather than directly
Sure, the entity in question here is a "Farm", which also has a 1 to many relationship with an "Assessment". We can either fetch this from the "farm" table as a standalone object (in which the timestamp appears to be formatted incorrectly), or we can fetch an "Assessment" from the "assessment" table "with" its corresponding "Farm" (in which case the timestamp is formatted correctly).
19 replies
DTDrizzle Team
•Created by Jaymal on 4/4/2024 in #help
Timestamp formatted differently if fetched as relation rather than directly
Thanks that's good to know. Do you have a triage process/a rough idea when we could expect a fix for it?
19 replies
DTDrizzle Team
•Created by Jaymal on 4/4/2024 in #help
Timestamp formatted differently if fetched as relation rather than directly
@Dan Kochetov @alexblokh are you able to help with the issue above please?
19 replies
DTDrizzle Team
•Created by Jaymal on 4/4/2024 in #help
Timestamp formatted differently if fetched as relation rather than directly
@Aaroned have you come across something like this before? Or know who may be the person to ask?
19 replies