Flo
Flo
DTDrizzle Team
Created by oscklm on 6/3/2023 in #help
Error: Either `connectionString` or `host, port, etc.` params be provided in config file
Also make sure when using it the env file is named .env and not something like .env.local
12 replies
DTDrizzle Team
Created by oscklm on 6/3/2023 in #help
Error: Either `connectionString` or `host, port, etc.` params be provided in config file
I think you have to use the package dotenv and import it like this for the enviroment variables
import 'dotenv/config';
import 'dotenv/config';
12 replies
DTDrizzle Team
Created by Flo on 5/24/2023 in #help
select with limit of 1
ohh that produces so much chaos in my codebase 😅
12 replies
DTDrizzle Team
Created by Flo on 5/24/2023 in #help
select with limit of 1
oh didn't know that exists
12 replies
DTDrizzle Team
Created by Flo on 5/24/2023 in #help
select with limit of 1
idk it feels a bit weird that the select returns an array with a limit of 1
12 replies
DTDrizzle Team
Created by Flo on 5/24/2023 in #help
select with limit of 1
When i don't specify the type it's only User but it can be undefined when the user with that id does not exist in the database. That's why i do that.
12 replies
DTDrizzle Team
Created by Flo on 4/23/2023 in #help
drizzle-orm@0.25.0 broke edge support
Yup, it's working now. Thank you!
10 replies