InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises. Learn more →
Sqlx Alternatives
Similar projects and alternatives to sqlx
-
-
-
InfluxDB
Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.
-
-
tokio
A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...
-
actix-web
Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.
-
-
-
SonarLint
Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
-
-
-
-
-
-
-
rust-analyzer
A Rust compiler front-end for IDEs [Moved to: https://github.com/rust-lang/rust-analyzer] (by rust-analyzer)
-
Rustlings
:crab: Small exercises to get you used to reading and writing Rust code!
-
-
-
-
rbatis
Rust Compile Time ORM and SQL Toolkit. async, pure Rust compile-time Dynamic SQL
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
sqlx reviews and mentions
-
Ask HN: How do you test SQL?
Part of the solution could be using tooling which can compile time check SQL is valid like https://github.com/launchbadge/sqlx
- Rust's Witchcraft
-
You might not need an ORM
There's an offline feature that
> Enables building the macros in offline mode when a live database is not available (such as CI) [0]
[0] https://github.com/launchbadge/sqlx/blob/76ae2865005cc79d569...
-
What is the status of sqlx?
Thanks didn't know about this! Sent a PR to add this as a notice to the README.
-
Objection to ORM Hatred
ORM's come and go just like web frameworks, so I really don't care for them. I use sqlx [1] when I can.
-
Architecture Pitfalls: Don’t use your ORM entities for everything — embrace the SQL!
Nowadays, I'm playing around with Rust using sqlx, and when I write the direct SQL for most queries I get compile time checks that it's valid SQL (to a degree). I'm also leaning more heavily into the database, so I'm also writing stored procedures for certain activities, which means in the application code I just need SQL that calls one function in those instances.
The sqlx library is what I hope to see the next generation of ORMs to look like though technically it's anti-ORM in a lot of ways. Embracing the features of an advanced object relational database like PostgreSQL directly is a major productivity and expressiveness boost but yes, manually mapping your rows to your DTOs and working with raw strings is major source of bugs. sqlx virtually solves this by:
-
Looking for SeaORM (+ Axum, if possible) examples?
Not exactly what you're looking for, but hopefully you can find something out of this. I'm using SQLx to talk to Postgres, handle all of the migration logistics, and pool my db connections; I'm also sea_query to compose my sql queries, which seaORM is built on top of.
-
Hey Rustaceans! Got a question? Ask here (52/2022)!
Datetime types are not supported in the MSSQL driver currently. We intend to fix that when transitioning it to SQLx Pro: https://github.com/launchbadge/sqlx/discussions/1616
-
A note from our sponsor - InfluxDB
www.influxdata.com | 2 Feb 2023
Stats
launchbadge/sqlx is an open source project licensed under Apache License 2.0 which is an OSI approved license.