PostgresKit 2.0.0 Beta 3
Pre-release
Pre-release
Refactors PostgresDataEncoder
to be more flexible. There are now three distinct paths for encoding:
- Single value: Cast to
PostgresDataConvertible
, if fail, unwrap and try again - Unkeyed value: Convert to
JSONB[]
- Keyed value: Convert to
JSONB
Refactors PostgresDataDecoder
to operate similarly.
Also updates PostgresRow
's SQLRow
conformance to latest changes.