insert without passing schema

if you pass schema to drizzle like,
drizzle({
schema,
connection: process.env.DB_FILE_NAME!
})
drizzle({
schema,
connection: process.env.DB_FILE_NAME!
})
you can use query like drizzle.query.tableName but, you can not do drizzle.insert.tableName. I am asking this because I do not want import the schema. Is there any way to achieve this?
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?