Skip to content

SQLite: align JSON and M.D.Sqlite representations #36749

@roji

Description

@roji

We seem to have some discrepancies between the string representation produced by our client-side JSON infrastructure (JsonValueReaderWriter), and the textual representation that M.D.Sqlite serializes to. For example, it seems like our JSON representation preserves zeros (the database contains 12:30:45.0000000), while Microsoft.Data.SQLite does not (we send a parameter with 12:30:45).

See TimeOnlyTypeTest.Query_property_within_json, ByteArrayTypeTest.Query_property_within_json. Also consider increasing type test coverage for any other supported types to make sure this is covered.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions