wheresthegold_
DTDrizzle Team
•Created by wheresthegold_ on 2/1/2024 in #help
Typing casting from JSON_OBJECT()
Im using mysql / planetscale. When I select a field that is a boolean (tinyint in database) drizzle returns a boolean. However when selecting that field inside of a JSON_OBJECT, it will return as a tinyint. Is there any method I'm missing to cast this as a boolean inside the query, or will I just have to do this after the query execution?
8 replies