Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add enum deserialization for sqlite Value #1294

Merged
merged 3 commits into from
Jun 10, 2024

Commits on Apr 9, 2024

  1. Add Enum deserialization for Rows

    Currently, if a sql row read needs to be deserialized into a
    struct, and the struct has one of the fields as a Rust enum
    type, then the deserialization fails. For example:
    
    ```rust
    struct MyRow {
      id: i32,
      status: Status
    }
    
    enum Status {
      Pass,
      Fail
    }
    
    ```
    The deserialization of a row: `1, 'Pass'` will fail.
    
    This commit adds the ability to deserialize a RowValue into
    an Enum type.
    sveltespot committed Apr 9, 2024
    Configuration menu
    Copy the full SHA
    b107b31 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2024

  1. Configuration menu
    Copy the full SHA
    c49d324 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2024

  1. Configuration menu
    Copy the full SHA
    0e62a10 View commit details
    Browse the repository at this point in the history