async-graphql / examples

217 stars 54 forks source link

Tweak some sqlx syntax to be more idiomatic #65

Closed dbanty closed 1 year ago

dbanty commented 1 year ago

Specifically, use .bind() instead of format!() as best practice (even though SQL injection in this specific case is not a concern) and use the shorter PgPool alias.