We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to run kysely-codegen with another env variable since DATABASE_URL is already set in my .bashrc for another project.
So I set a DB_URL env variable in a .env file at the root of my project.
.env
# .env DB_URL=postgres://...
However, running the following command:
npx kysely-codegen --dialect=postgres --env-file=.env --url=env(DB_URL) --out-file=types/db.ts
I get the following error:
zsh: unknown file attribute: B
Seems like a problem with env(DB_URL)
env(DB_URL)
The text was updated successfully, but these errors were encountered:
Hi @Mathieu-R, this does not work for me either and have been using a workaround. See #143.
Sorry, something went wrong.
No branches or pull requests
I'm trying to run kysely-codegen with another env variable since DATABASE_URL is already set in my .bashrc for another project.
So I set a DB_URL env variable in a
.env
file at the root of my project.However, running the following command:
I get the following error:
Seems like a problem with
env(DB_URL)
Upvote & Fund
The text was updated successfully, but these errors were encountered: