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

Fetch rows in JSON format #152

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Commits on Sep 18, 2024

  1. feat(query): Fetch query response in JSON format.

    Allows row deserialization into a `T: Deserialize`,
    which eliminates the limitations of `Query::fetch`:
    
    * when the table schema is not known: `SELECT * from ?`
    * when the table schema is not specified: `DESCRIBE TABLE ?`
    * when we read less columns than we select
    pravic committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    925727c View commit details
    Browse the repository at this point in the history
  2. fix(cursor): A better error message in JsonCursor.

    Print the source JSON string in the error message.
    pravic committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    684c2ce View commit details
    Browse the repository at this point in the history
  3. fixup! feat(query): Fetch query response in JSON format.

    Rename to `fetch_json`.
    pravic committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    7b83d20 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2024

  1. fixup! feat(query): Fetch query response in JSON format.

    Fix the doctest.
    pravic committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    476fd1a View commit details
    Browse the repository at this point in the history