Toasty, an async ORM for Rust supporting both SQL and NoSQL databases, has released versions 0.4, 0.5, and 0.6. Key additions include deferred fields and a `.select()` method for controlling which fields are loaded during queries, `Vec<scalar>` collection fields with database-native storage (PostgreSQL arrays, JSON for other SQL DBs, DynamoDB native lists), and collection-specific filter expressions like `intersects()`. Additional improvements cover query expressions, db-native enums, optimistic version control, and TLS support. The author also notes that building unified SQL/NoSQL support has revealed more overlap between the two paradigms than initially expected.

4m read timeFrom tokio.rs
Post cover image
Table of contents
More control over selected fields.Vec<scalar> collection fieldsMuch more

Sort: