-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
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
SQLx CLI: cargo sqlx prepare with SQLite doesn't do anything #1813
Comments
I misunderstood this, I thought Adding
yields a populated file. |
Sometimes people do a bad job of reading comprehension (see launchbadge#1813). This rewords a little to be even more prescriptive about how to build in offline mode.
Sometimes people do a bad job of reading comprehension (see launchbadge#1813). This rewords a little to be even more prescriptive about how to build in offline mode.
Sometimes people do a bad job of reading comprehension (see #1813). This rewords a little to be even more prescriptive about how to build in offline mode.
Following the documentation here, I'm trying to create my
sqlx-data.json
but SQLx does not appear to find any of my queries.I've just started using SQLx with SQLite, so I'm not sure if I'm doing something unexpected but I think it's a pretty mundane project. I have a handful of queries that generally look something like:
Running the application works fine, I get errors when I build if the schema doesn't line up. Trying to build the file does not appear to do anything with either environment variables in a
.env
nor provided directly:Yields a
sqlx-data.json
:Am I missing something obvious?
The text was updated successfully, but these errors were encountered: