blackbeam / rust-mysql-simple

Mysql client library implemented in rust.
Apache License 2.0
665 stars 146 forks source link

How to use? #203

Closed ashishmainali closed 4 years ago

ashishmainali commented 4 years ago

Hey guys, I am new to Rust. I don't know if this is the right place to post but I need to connect to the MySQL database. Where can I find a tutorial to use this library to connect to the database?

blackbeam commented 4 years ago

Hi. First of all you should look into the general example, shipped with the create docs.

Secondly. It isn't published yet, but the next version will have some docs (you should look at the first four hundred lines in that file). Note that the new version will come with breaking API changes, however some topics are still relevant (including Opts, connection url, OptsBuilder, Value, Row, FromValue, FromRow, and some others).

blackbeam commented 4 years ago

Please see crate level docs for v18.0.0.