__dil__
__dil__
Sorry for not having a more minimal example (I might post one soonish) but this should be fairly straightforward if not minimal. This code gives : `wildcard overrides are only...
### Discussed in https://github.com/cornucopia-rs/cornucopia/discussions/139 Originally posted by **skreborn** August 4, 2022 At the moment, it's difficult to provide container types such as wrappers (`Option`) and collections (`Vec`) as bound parameters,...
Right now there's no way to perform multi-inserts. That means we have to call this ```sql INSERT INTO table(...) VALUES (...) ``` multiple times, instead of calling that ```sql INSERT...
I think it makes the concept more explicit. We could also rename the trait `Params` to `ParamStruct`
Non-returning statements have this peculiar property that they are executed right after `bind`ing their parameters. Meanwhile, statements that return something are only executed after using one of the finalizers. I'd...
Concept described here https://docs.rs/tokio-postgres/latest/tokio_postgres/#pipelining. Transcript of the Discord thread that sparked this (thanks to user korin): > So maybe more context. I have 2 tables. And I want to copy...
This is just a POC PR to show how the implementation could be done. This only affects PostgreSQL, I couldn't find statement caches for the other drivers. AFAIK, this change...
I ran a few benchmarks on plausible SQL queries of different sizes, and this change improves hashing performance by 30% to 50%. The std hasher is DoS-safe and cryptographically "strong"...
Right now there's no way for users to add doc comments to their queries. We should make it possible to document queries from the SQL-side. For example: ```sql --! universe...
In our CLI, we renamed the `managed` command to `schema` at some point. But we didn't change the `generate_managed` function to reflect that. One thing to note is that `generate_schema`...