Expand description
Database-agnostic row-to-JSON conversion and query result traits for sqlx.
Provides RowExt for converting a single database row into a
Value::Object or into ordered (name, value) entries, and
QueryResult for extracting affected row counts. Implementations are
provided for SqliteRow,
PgRow, and MySqlRow.
Traitsยง
- Query
Result - Extracts the affected row count and insert id from a backend query result.
- RowExt
- Converts a database row into JSON.