/orm_diesel

Primary LanguageRustMIT LicenseMIT

Simple project using Diesel ORM

Setup all and build

There is a script called build.sh that will install all the necessary and build the project (give it some time).
The script runs on Debian-based and Arch-based distros.

Run the program

In order to run the programs, run the following commands.

# Print out all the users in the database
target/release/select_all

target/release/insert_user

target/release/delete_user

# Print all users with an age of 18
target/release/query

Built With

  • Rust - Programming language
  • SQLite - SQL database engine
  • Diesel - ORM Framework

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details