Using SQlite with Rust

Опубликовано: 31 Май 2021
на канале: buckmasterinstitute
6,262
84

The video will go over how to query a database table containing username and password using rust. It will also briefly add error handling for SQLite in rust.


Download sqlite
Create a rust project
Initialize database
Create struct and enum for database handling in rust
Implement enum for error handling
Implement struct by adding a function that will add an entry to the database
Edit main fn to invoke the newly built function
Run the project
Check if the database updated