icebear
icebear
DTDrizzle Team
Created by icebear on 3/1/2025 in #help
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?
1 replies