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

demo: Convert JSON to protobuf.Value #89955

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Aug 29, 2023

  1. sql: Add internal function to convert tuple to protocol message

    Add a `crdb_internal.row_to_proto` function to convert
    tuple to `google.protobuf.Struct` protocol message.
    
    ```
    SELECT crdb_internal.row_to_proto(rides) FROM rides;
    
    SELECT crdb_internal.row_to_proto(row(1, 'two', 'three'::bytea) FROM rides;
    ```
    
    Epic: None
    Release note: None
    Yevgeniy Miretskiy committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    1455fa9 View commit details
    Browse the repository at this point in the history
  2. wip

    Yevgeniy Miretskiy committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    dd9cf61 View commit details
    Browse the repository at this point in the history