sqlx_insert 0.2.0

Proc macro for generating insert statements for sqlx
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: only named struct fields are supported
 --> tests/ui/unnamed_fields.rs:5:1
  |
5 | / #[sqlx_insert(database(Postgres))]
6 | | pub struct Thing(String, i32, i32);
  | |___________________________________^

warning: unused import: `sqlx::Postgres`
 --> tests/ui/unnamed_fields.rs:2:5
  |
2 | use sqlx::Postgres;
  |     ^^^^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default