From 66ff58f42d057b14b42b994709e787f8f7135da4 Mon Sep 17 00:00:00 2001 From: Ruslan Semagin <53819609+pixel365@users.noreply.github.com> Date: Fri, 7 Jun 2024 13:22:04 +0300 Subject: [PATCH] add useful links for Rust ORM (#5827) --- .../roadmaps/rust/content/112-database-orm/100-diesel.md | 9 ++++++++- .../roadmaps/rust/content/112-database-orm/101-sqlx.md | 7 ++++++- .../rust/content/112-database-orm/102-rusqlite.md | 7 ++++++- 3 files changed, 20 insertions(+), 3 deletions(-) diff --git a/src/data/roadmaps/rust/content/112-database-orm/100-diesel.md b/src/data/roadmaps/rust/content/112-database-orm/100-diesel.md index d77e95d88..8ce5fb727 100644 --- a/src/data/roadmaps/rust/content/112-database-orm/100-diesel.md +++ b/src/data/roadmaps/rust/content/112-database-orm/100-diesel.md @@ -1,3 +1,10 @@ # Diesel -Diesel is a safe, extensible ORM (Object-Relational Mapping) and query builder for Rust. Diesel is designed to help you move between database schema, SQL queries, and your data in your application with safety and ease. It provides a high-level API and avoids the need to manage database connections manually. It simplifies SQL interfacing, ensuring type safety and connection handling right from the box. Diesel supports PostgreSQL, SQLite, and MySQL databases. \ No newline at end of file +Diesel is a safe, extensible ORM (Object-Relational Mapping) and query builder for Rust. Diesel is designed to help you move between database schema, SQL queries, and your data in your application with safety and ease. It provides a high-level API and avoids the need to manage database connections manually. It simplifies SQL interfacing, ensuring type safety and connection handling right from the box. Diesel supports PostgreSQL, SQLite, and MySQL databases. + +Visit the following resources to learn more: + +- [@official@Diesel](https://diesel.rs/) +- [@opensource@Repository](https://github.com/diesel-rs/diesel) +- [@article@Docs.rs: Diesel](https://docs.rs/diesel/latest/diesel/) +- [@video@YouTube](https://www.youtube.com/watch?v=tRC4EIKhMzw) diff --git a/src/data/roadmaps/rust/content/112-database-orm/101-sqlx.md b/src/data/roadmaps/rust/content/112-database-orm/101-sqlx.md index 26f2518ce..bbb5d5628 100644 --- a/src/data/roadmaps/rust/content/112-database-orm/101-sqlx.md +++ b/src/data/roadmaps/rust/content/112-database-orm/101-sqlx.md @@ -1,3 +1,8 @@ # sqlx -`SQLx` is an extensible, async, pure-Rust SQL toolkit and ORM that provides a suite of macros and builders for interacting with databases. It enables you to interact directly with your database without having to write SQL-statements, but with the strong typing of Rust. SQLx supports PostgreSQL, MySQL, SQLite, and MSSQL and is compatible with the `tokio` and `async-std` async runtimes. SQLx ensures compile-time checking of your SQL queries, which significantly reduces runtime errors due to malformed SQL. \ No newline at end of file +`SQLx` is an extensible, async, pure-Rust SQL toolkit and ORM that provides a suite of macros and builders for interacting with databases. It enables you to interact directly with your database without having to write SQL-statements, but with the strong typing of Rust. SQLx supports PostgreSQL, MySQL, SQLite, and MSSQL and is compatible with the `tokio` and `async-std` async runtimes. SQLx ensures compile-time checking of your SQL queries, which significantly reduces runtime errors due to malformed SQL. + +Visit the following resources to learn more: + +- [@opensource@Repository](https://github.com/launchbadge/sqlx) +- [@article@Docs.rs: sqlx](https://docs.rs/sqlx/latest/sqlx/) diff --git a/src/data/roadmaps/rust/content/112-database-orm/102-rusqlite.md b/src/data/roadmaps/rust/content/112-database-orm/102-rusqlite.md index e45cab8ce..b03ad8ae9 100644 --- a/src/data/roadmaps/rust/content/112-database-orm/102-rusqlite.md +++ b/src/data/roadmaps/rust/content/112-database-orm/102-rusqlite.md @@ -1,3 +1,8 @@ # rusqlite -`rusqlite` is a simple and ergonomic library for interacting with SQLite databases in Rust. It is designed to be uncomplicated and easy to fit into existing Rust software. With `rusqlite`, you can execute efficient high-level database operations with minimal SQL knowledge or effort. Built around the `sqlite3` C library, it offers a comprehensive API for executing queries and retrieving results. `rusqlite` also integrates seamlessly with the `serde` crate, allowing for easy, type-safe bidirectional mapping between SQL and Rust data structures. \ No newline at end of file +`rusqlite` is a simple and ergonomic library for interacting with SQLite databases in Rust. It is designed to be uncomplicated and easy to fit into existing Rust software. With `rusqlite`, you can execute efficient high-level database operations with minimal SQL knowledge or effort. Built around the `sqlite3` C library, it offers a comprehensive API for executing queries and retrieving results. `rusqlite` also integrates seamlessly with the `serde` crate, allowing for easy, type-safe bidirectional mapping between SQL and Rust data structures. + +Visit the following resources to learn more: + +- [@opensource@Repository](https://github.com/rusqlite/rusqlite) +- [@article@Docs.rs: rusqlite](https://docs.rs/rusqlite/latest/rusqlite/)