-
## Problem Description
When executing queries with custom types (enums, etc.), SQLx performs two preliminary SQL queries before the actual query:
1. ```SQL
SELECT
oid :: regtype :: text…
-
我看到bookstore示例代码这样写
```
type ServiceContext struct {
c config.Config
Model model.BookModel
}
func NewServiceContext(c config.Config) *ServiceContext {
return &ServiceContext{
c: …
-
It looks like that nutype has its own special `derive()` implementation and it can really get in the way sometimes. For example, I want to use the `sqlx::Type` derive, but I can't:
```rust
#[nutyp…
musjj updated
1 month ago
-
Apply this diff
```diff
diff --git i/examples/postgres/migrations/m0005_reference_complex.rs w/examples/postgres/migrations/m0005_reference_complex.rs
index 7ed796a..72264a4 100644
--- i/example…
-
So, I have a very specific issue when using newer versions of rust-analyzer in my project.
The project is structured as follows:
It is a monorepo consisting of three crates: a client, a server and so…
-
When I try to start the application per the [README](https://github.com/rtyler/dotdotvote?tab=readme-ov-file#hacking),
it fails due to a missing `DATABASE_URL` config. That's not a surprise, since …
-
I think it'd be nice to support (behind a feature flag) the [`Json`](https://docs.rs/sqlx/latest/sqlx/types/struct.Json.html) because, currently the typing is lost on this element on the OpenAPI gener…
-
(If you give me a quick feedback to this or any issue, I will fix them with pleasure, especially ones like this that need more time than skill :D)
Here is an example of what I did for the Quest ins…
-
**Is your feature request related to a problem? Please describe.**
We're using Bazel and [`rules_rust`](https://github.com/bazelbuild/rules_rust) to build all of our Rust libraries and binaries. We…
-
### Bug Description
This panic [^1] is causing all uses of the `query!` macros to trigger `clippy::missing_panics_doc`. This is very annoying because we want to warn on panics at the project level,…