Open
Description
As an extension to #199, it would be nice if SQLx supported the following for databases compatible with named bindings:
query!("INSERT INTO foo (id, a, b, c) VALUES (:id, :a, :b, :c)", id=new_id, ..foo)
// shorthand for
query!(
"INSERT INTO foo (id, a, b, c) VALUES (:id, :a, :b, :c)",
id=new_id,
a=foo.a,
b=foo.b,
c=foo.c,
)
Metadata
Metadata
Assignees
Labels
No labels