Dapper VS sqlx

Compare Dapper vs sqlx and see what are their differences.

Dapper

Dapper - a simple object mapper for .Net (by DapperLib)

sqlx

🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, and SQLite. (by launchbadge)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
Dapper sqlx
40 144
17,128 11,742
1.1% 4.0%
8.0 9.2
14 days ago 6 days ago
C# Rust
GNU General Public License v3.0 or later Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Dapper

Posts with mentions or reviews of Dapper. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-27.

sqlx

Posts with mentions or reviews of sqlx. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-09.

What are some alternatives?

When comparing Dapper and sqlx you can also consider the following projects:

efcore-dapper-benchmark - A project that I have created to benchmark the read/write performance of EFCore vs Dapper

diesel - A safe, extensible ORM and Query Builder for Rust

Npgsql - Npgsql is the .NET data provider for PostgreSQL.

sea-orm - 🐚 An async & dynamic ORM for Rust

PetaPoco - Official PetaPoco, A tiny ORM-ish thing for your POCO's

tokio - A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...

Knex - A query builder for PostgreSQL, MySQL, CockroachDB, SQL Server, SQLite3 and Oracle, designed to be flexible, portable, and fun to use.

rust-postgres - Native PostgreSQL driver for the Rust programming language

Hasura - Blazing fast, instant realtime GraphQL APIs on your DB with fine grained access control, also trigger webhooks on database events.

rbatis - Rust Compile Time ORM robustness,async, pure Rust Dynamic SQL

pg-ulid - ULID Functions for PostgreSQL

actix-web - Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.