Suryansh
Suryansh
DTDrizzle Team
Created by Suryansh on 8/7/2024 in #help
Extending Typescript Client Model(Table)
I have a simple question that would really help me. Let's say I have table Users with columns, firstName, LastName. I define my table using drizzle. When I get the resultant from Users query. I want it to have a function that returns fullName. Is it possible to extend Model(Tables) with custom functions ?
8 replies