Temporal custom type "TypeError: SQLite3 can only bind numbers, strings, bigints, buffers, and nul"

Im starting with
export const customTemporal = customType<{ data: Temporal.PlainDateTime; notNull: true; default: true }>({
dataType() {
return 'number'
},
})
export const customTemporal = customType<{ data: Temporal.PlainDateTime; notNull: true; default: true }>({
dataType() {
return 'number'
},
})
but when use it like this am getting errors like this
No description
No description
2 Replies
Braveheart
BraveheartOP11mo ago
GitHub
GitHub - quantuminformation/drizzle-sqlite-recurring-events
Contribute to quantuminformation/drizzle-sqlite-recurring-events development by creating an account on GitHub.
Braveheart
BraveheartOP11mo ago
Twitch
nikoskatsikanis - Twitch
Adding a Temporal custom type for Drizzle
Want results from more Discord servers?
Add your server