Hello! I have just started using Exposed as my OR...
# server
f
Hello! I have just started using Exposed as my ORM for Postgresql. I want to use generics for Tables but seem unable to figure out how to use them.
Copy code
`

class ApiController<T> where T: ApiModel, T: Table {

    fun <T> index(ctx: Context) where T: ApiModel, T: Table {
        T.serialize() <-- Not working, not found
        transaction {
            ctx.result()
}
`
this is what i have tried but i cannot get the ApiModel functions from my generic type T