You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Separate raw value representations of postgresql and mysql backend
This commit separates the raw value representation of the mysql and
postgresql backend from raw `&[u8]` to specific types that could hold
additional information. To avoid code duplication for commonly used
types an additional trait (`BinaryRawValue`) is introduced, which is
basically equivalent to `AsRef<[u8]>` but has the existing
`HasRawValue` trait as super trait. This is required to workaround
some higher ranked life time issues in rustc.
Additionally some type information are added to the postgresql value
type. Those information may allow to do dynamic type conversations in
future diesel versions.
0 commit comments