Method GuidFromDb(object)
Reads a uuid-semantic column value into its portable form.
PostgreSQL/MSSQL store these columns natively; SQLite stores them as a 16-byte BLOB in
RFC 4122 (text) order - _users._hash, _schemes._structure_hash,
_objects._hash, _values._unique. Reading such a BLOB through the driver's
GetGuid would byte-swap the first three groups; this seam keeps the JSONL canonical.
Genuine binary columns (_value_bytes, _values._ByteArray) are NOT uuids and
never go through this conversion.
public Guid GuidFromDb(object raw)
Remarks
redb's SQLite schema stores uuid-semantic columns as a 16-byte BLOB in RFC 4122 (text)
order (see SqliteHash in redb.SQLite); the driver's GetGuid would byte-swap the
first three groups. Legacy pre-V4 databases may still hold the TEXT form.