Stack Explorer

SQLx

database

Async SQL client with compile-time query verification

300K/week ↑ Growing

Features

sqlasynccompile-timepostgres

Pros and Cons

Ventajas

  • + Native async queries
  • + Compile-time SQL verification
  • + No DSL - pure SQL
  • + Integrated connection pooling
  • + PostgreSQL, MySQL, SQLite support

Desventajas

  • - Requires database to compile (with verification)
  • - Less abstraction than an ORM
  • - Less sophisticated migrations

Use Cases

  • High-performance async APIs
  • Microservices with Tokio
  • Complex SQL queries
  • Systems where direct SQL is preferred
  • Cloud-native applications

Tecnologías Relacionadas

Alternatives

Related