Frosty
DTDrizzle Team
•Created by Frosty on 7/11/2023 in #help
insert with InferModel not working
Hey, playing with Drizzle, like it a lot but I am having an issue where I inferred the model of a schema as
Here is the table schema (sqlite):
type NewUser = InferModel<typeof Users, "insert">;
and try to insert. It doesn't give an error, simply does nothing. In my app I have it do many different selects so I know the schema is fine and everything is connected and working. Yet when I execute this insert nothing is added to the db.Here is the table schema (sqlite):
7 replies