getting the initialize drizzle types.

I wanted to do some backend crud. im not sure how to get the initialize db types of drizzel any knows how?
import { db } from "@utils/turso/clients";
const api = apiCrud({
    client: db,
})

interface Opt<TSchema extends Record<string, unknown>> {
    client: DrizzleEntityClass<TSchema> 
}
Was this page helpful?