SteveS
Explore posts from serversDTDrizzle Team
•Created by SteveS on 6/11/2024 in #help
Why is it the case that my IDE says `await` does nothing on pretty much every single function?
I can't figure out any reason this wouldn't work:
2 replies
DTDrizzle Team
•Created by SteveS on 8/16/2023 in #help
Error following push
I really can't remember much of this. Looks like I was pushing changes to a table, like adding a column, and when I did that it would make intermediary tables. In this case it was a table of resume information. I probably had a FK constraint with a user table and then added a column
4 replies
DTDrizzle Team
•Created by SteveS on 10/17/2023 in #help
How to get better errors?
I guess I'm thinking of if the
eq()
function could compare types to make sure that they are the same it would be really useful.2 replies
DTDrizzle Team
•Created by SteveS on 10/14/2023 in #help
drizzle-zod: remove ID from insert schema type
So, I have a schema for a db table. I want to create an insert schema. The ID is auto incremented. I therefore do not need the ID field as part of the insert schema.
4 replies
DTDrizzle Team
•Created by Graeme on 6/27/2023 in #help
Unexpected type mismatch for sqlite integer boolean mode
Just running into this myself and I'm not sure I understand the design philosophy. An integer taking "true" or "false" as a value seems like an anti-pattern to me.
9 replies
DTDrizzle Team
•Created by SteveS on 8/16/2023 in #help
Error following push
This error was due to me previously adding a foreign key constraint to one of my tables, then removing/updating the table it was referring to. sqlite doesn't allow foreign keys to be dropped. I had to create a new table without the fk, copy over all the data, drop the old table, and rename the new table to the old one. Now it works.
4 replies
DTDrizzle Team
•Created by SteveS on 8/15/2023 in #help
How to debug Drizzle queries
Yeah, I don't want to be too needy, but if something is being worked on or isn't stable it would be nice to know. I'm sure they are aware the value that good docs has in the fast moving web space. It's not like I'm going to stop using Drizzle though. I couldn't really stand prisma so its a big improvement
45 replies
DTDrizzle Team
•Created by SteveS on 8/15/2023 in #help
How to debug Drizzle queries
Ah, ok. In the future I would recommend updating the docs with warnings or something. I love what you guys are doing, but I spent the last hour and a half on this.
45 replies
DTDrizzle Team
•Created by SteveS on 8/15/2023 in #help
How to debug Drizzle queries
I don't have to do that for the other drivers? Extremely strange that I have to do that for libsql
45 replies
DTDrizzle Team
•Created by SteveS on 8/15/2023 in #help
How to debug Drizzle queries
oml if I use
.run()
at the end it runs45 replies
DTDrizzle Team
•Created by SteveS on 8/15/2023 in #help
How to debug Drizzle queries
Do I have to "run" the insert?
45 replies
DTDrizzle Team
•Created by SteveS on 8/15/2023 in #help
How to debug Drizzle queries
Is there something possibly wrong with the libsql connector?
45 replies
DTDrizzle Team
•Created by SteveS on 8/15/2023 in #help
How to debug Drizzle queries
if I await a query, it works fine. But awaiting an insert doesn't do anything
45 replies
DTDrizzle Team
•Created by SteveS on 8/15/2023 in #help
How to debug Drizzle queries
I'm looking through and it seems exactly the same. The only difference is that I'm using Turso in the new project
45 replies