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>
}
import { db } from "@utils/turso/clients";
const api = apiCrud({
client: db,
})

interface Opt<TSchema extends Record<string, unknown>> {
client: DrizzleEntityClass<TSchema>
}
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server