Skip to content

Conversation

eXigentCoder
Copy link
Contributor

Adds the new flatten command:

SELECT "First Name",
                    "Address",
                    flatten(Address,'Address_'),
                    unset(Rentals)
                FROM customers
                WHERE id=1

Results in:

{
          "First Name": "MARY",
          "Address": {
            "Address": "1913 Hanoi Way",
            "City": "Sasebo",
            "Country": "Japan",
            "District": "Nagasaki"
          },
          "Address_Address": "1913 Hanoi Way",
          "Address_City": "Sasebo",
          "Address_Country": "Japan",
          "Address_District": "Nagasaki"
}

@eXigentCoder eXigentCoder merged commit ce3bc0c into main Feb 19, 2025
5 checks passed
@eXigentCoder eXigentCoder deleted the feat/flatten branch February 19, 2025 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants