Suggestions appear as you type. Use the up and down arrows to choose one and Enter to open it.

This page's audience real numbers from our own analytics — open to see them
–Visitors
–Page views
–Clicks to vendors
–Time on page
–Reading now
Clicks to vendors, by tool
  • –
Top countries
  • –
Devices
  • –

– · counted by iTechGuides's own first-party analytics, bots removed, every figure rounded down · how we count

sqlx-dsl

Free#31 of 51 in Database Query Builders

sqlx-dsl: A focused SQLx query builder for Rust teams working with PostgreSQL or MySQL. Ranked #31 of 51 in Database Query Builders by our editors (5.9/10); pricing: Free plan; best for rust teams using SQLx with PostgreSQL or MySQL.

5.9/10Editor score
sqlx-dsl5.9 View sqlx-dsl

At a glance

  • Editor score
    5.9 / 10
  • Pricing
    Free plan
  • Best for
    Rust teams using SQLx with PostgreSQL or MySQL
  • Free plan
    Yes
  • Paid from
    None
  • Type safety
    Static
  • Facts checked
    4 Oct 2026
  • Where it wins

    • Fluent builders cover SELECT, INSERT, UPDATE, and DELETE
    • Supports joins, grouping, subqueries, aggregates, and upserts
    • Async execution and transaction helpers work with both listed backends
  • Where it doesn't

    • Backend support is limited to PostgreSQL and MySQL
    • It is a query builder, not a full ORM
    • It does not provide migrations

Our verdict on sqlx-dsl

For Rust projects that already use SQLx with PostgreSQL or MySQL, sqlx-dsl offers chainable builders for composing parameterized SQL. Separate builder types cover each backend, with backend-specific placeholders and parameter binding. It targets teams that want a query-building layer without adopting a full ORM; row-to-struct mapping remains handled by SQLx's FromRow.

The library covers the common CRUD statements and adds joins, grouping, HAVING, DISTINCT, subqueries, LIMIT and OFFSET, conditional filters, and optional-value variants. Aggregate helpers include count, sum, average, minimum, and maximum. PostgreSQL and MySQL upsert operations are available, as are asynchronous execution and row-fetch methods. Transaction helpers support both backends. SQL logging is available through the optional tracing feature, which may suit teams that want query visibility within their Rust application. SQLx is the listed integration, so this is most relevant to codebases already centered on that library rather than projects seeking a database-agnostic abstraction.

sqlx-dsl is open source and has a free plan. Its scope stays deliberately focused: it builds and executes queries, but does not provide migrations or the broader modeling layer of an ORM. The listed dialects are PostgreSQL and MySQL, so teams using another database should look for a builder that supports that backend. Linux is the listed platform. Choose sqlx-dsl if a Rust team wants fluent SQL construction around SQLx and one of its supported databases; choose another tool if migrations, ORM features, or broader dialect coverage are requirements.

Your product? Our editors can test sqlx-dsl in depth and publish a review, labelled as paid · from $99/mo →

sqlx-dsl pricing

Plans Free planFree Free to use — no paid tier required for the core job.
See plans on docs.rs

sqlx-dsl fact sheet

Free planYes
Paid fromNone
LanguagesRust
SQL dialectsPostgreSQL, MySQL
Type safetyStatic
Async queriesYes
Raw SQL supportYes
Compile without executionYes
DeploymentDesktop
PlatformsLinux
Built forSolo, Small business (editorial estimate)
Integrations1 integrations: SQLx
PricingFree plan
Websitedocs.rs
Facts checked4 Oct 2026

sqlx-dsl integrations

sqlx-dsl lists 1 integrations on its own site.

  • SQLx

Alternatives to sqlx-dsl

See all sqlx-dsl alternatives →

Used sqlx-dsl? Be the first to review it

The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used sqlx-dsl for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.

Write a reviewTwo minutes · verified accounts only · read by an editor before it appears

Reviews come only from verified accounts. Sign in or create an account first — your e-mail is never shown.

Your rating

0 characters · at least 80, up to 3,000

Posted from your verified account. Reviews appear after an editor reads them, usually within two working days.

Featured on iTechGuides

Featured on iTechGuides — sqlx-dsl 5.9/10

sqlx-dsl is listed in our Database Query Builders directory. Add the badge to your site — it links back to this page.

<a href="https://www.itechguides.com/products/sqlx-dsl/"><img src="https://www.itechguides.com/best/badge/sqlx-dsl.svg" alt="Featured on iTechGuides" width="230" height="46"></a>

Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026

Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. How we rank.

Last updated · How we research and update