We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 358b80f commit 73f3fedCopy full SHA for 73f3fed
sqlx-macros/src/query/mod.rs
@@ -303,7 +303,8 @@ where
303
for rust_col in &columns {
304
if rust_col.type_.is_wildcard() {
305
return Err(
306
- "columns may not have wildcard overrides in `query!()` or `query_as!()"
+ "wildcard overrides are only allowed with an explicit record type, \
307
+ e.g. `query_as!()` and its variants"
308
.into(),
309
);
310
}
0 commit comments