ormx

bringing orm-like features to sqlx

MIT License

Downloads
55.8K
Stars
287
Committers
6

Bot releases are hidden (Show)

ormx - v0.11 with sqlx 0.8 Latest Release

Published by NyxCode about 1 month ago

It's been a long time, but I'm thrilled to finally release v0.11, using sqlx 0.8 under the hood! 🥳

Highlights

  • Everything should be 1:1 compatible with v0.10.

    I am using it in a large-ish backend, and all that was needed to migrate was to add a couple of * to adjust to the change of the Executor trait sqlx introduced with 0.7.

  • Now with RPIT in traits!

    This avoids loads of needless allocations, and should result in ormx bringing no additional overhead compared to sqlx.

  • And more!
    • Table::all(..) and friends now return results in a consistent ordering, which can be changed using #[ts(order_by = "created_at DESC")].
    • Much better escaping of columns that happen to be SQL keywords
    • CI, testing Postgres, MySQL and MariaDB
    • Many bug fixes!