Austin Bonander

Results 748 comments of Austin Bonander

Sadly the `pub_macro_rules` feature was removed in https://github.com/rust-lang/rust/pull/83713 so we're likely back to just supporting prefixes for the new macros as depicted in @mehcode's comment above.

Try adding `type_name = "MyType"` to the `#[sqlx]` attribute on `enum E`

For properly decoding `DateTime` we'd have to know what the system time zone is, _and_ that the connection is set to use it instead of UTC. Or I guess the...

@mehcode @thomcc it's been another year, anything new here?

Please include the error you get from sqlx-cli.

The title was automatically generated from your commit message, which I cherry-picked to keep correct attribution on the parts of your code that were useful.

Re: the performance of the query macros, I've been testing this branch along with a couple that switch the serialization from `serde_json` to `bincode` and `ciborium` (CBOR) and the performance...

Here's a flamegraph of the compilation with v0.5.11 without optimizations, code in `libsqlx_macros` counts for only 1.62% of the total time: ![image](https://user-images.githubusercontent.com/3198595/161167168-2fd60403-40af-4523-9270-292b34dfa2a8.png)

Specifically we need the output of `EXPLAIN (VERBOSE, FORMAT JSON) `, not just `EXPLAIN `.

@rtyler yeah our heuristics haven't really been tested on cross joins. However, it looks like you probably want an inner join with `shares` being the primary table: ```sql SELECT shares.name...