CharlesCharlieCharles
DTDrizzle Team
•Created by CharlesCharlieCharles on 11/11/2023 in #help
get last inserted id with mysql
thanks, I didn't spot it because thought it would be directly on the data object and it didn't show up on the types autocomplete. For anybody else looking for mySQl it's
4 replies
DTDrizzle Team
•Created by CharlesCharlieCharles on 11/13/2023 in #help
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]
it was an incorrect import added by ide - import {sql} from "drizzle-orm/index" instead of import {sql} from "drizzle-orm"
2 replies
DTDrizzle Team
•Created by CharlesCharlieCharles on 10/24/2023 in #help
inferring the column information from the imported schema
perfect, thanks. Didn't spot that.
6 replies
DTDrizzle Team
•Created by CharlesCharlieCharles on 10/24/2023 in #help
inferring the column information from the imported schema
basically i am using it to build the query from the query string and would like try and automate setting the allowed conditionals and includes, so I don't have to type it out for every query. This would also have the benefit of knowing which type to coerce it too without manually checking.
dialogRoutes.ts
parseConditionals.ts
parseIncludes.ts
6 replies