#Documentation on env()
3 messages · Page 1 of 1 (latest)
You have a .env file in your project. Input a string in the () that matches your dB in your .env fil.
//.env file
DATABASE_URL=db connection string
//schema file
...{ env("DATABASE_URL")...}
thanks, I understand how .env files work. I was just wondering if env supports any other options except string literals for the key