cvr
cvr
Explore posts from servers
DTDrizzle Team
Created by cvr on 7/4/2023 in #help
How to set a default timestamp_ms for sqlite
thanks for this!
16 replies
DTDrizzle Team
Created by cvr on 7/4/2023 in #help
How to set a default timestamp_ms for sqlite
thank you! i wonder, does that return an int or a string? does SQL automatically cast strings when doing multiplications?
16 replies
DTDrizzle Team
Created by cvr on 7/4/2023 in #help
How to set a default timestamp_ms for sqlite
drizzle basically provides an automatic conversion to a Date object when using
integer("createdAt", {
mode: "timestamp_ms" | "timestamp",
})
integer("createdAt", {
mode: "timestamp_ms" | "timestamp",
})
16 replies
DTDrizzle Team
Created by cvr on 7/4/2023 in #help
How to set a default timestamp_ms for sqlite
ah okay, so it has to be a string basically right? was hoping to get the automatic conversion to Date drizzle provides
16 replies
DTDrizzle Team
Created by cvr on 7/4/2023 in #help
How to set a default timestamp_ms for sqlite
yeah unfortunately this is with sqlite 😦
16 replies