File: expression-column-type.stderr

package info (click to toggle)
rust-sqlx 0.8.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,744 kB
  • sloc: sql: 335; python: 268; sh: 71; makefile: 2
file content (7 lines) | stat: -rw-r--r-- 378 bytes parent folder | download
1
2
3
4
5
6
7
error: database couldn't tell us the type of column #1 ("id"); this can happen for columns that are the result of an expression
 --> $DIR/expression-column-type.rs:2:13
  |
2 |     let _ = sqlx::query!("select 1 as id");
  |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)