Resources for learning how to use SQLx?

Hi,

I've checked the SQLx docs but it is still a bit difficult for me to digest. I am still learning Rust, would like to know if there are any good resources with on learning how to use SQLx with Postgres.

Thanks

I recommend you to start with the README and then checkout the examples. The examples cover things that may not well documented in the doc, for example using JSON columns. Prefer compile-time checked queries (query!() or query_as!()) whenever possible. You'll avoid a ton of type-related bugs.

Thanks for the resource.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.