Skip to content

Expanding Embeddedlist Columns in a Select SQL Query #368

@pa-emmanuel

Description

@pa-emmanuel

I have a vertex that has embeddedlist columns that reference records in other vertices with the @rids. If I do a simple select, I can see the @rids for this embedded column and if I click on it and I can see the referenced record. How do I select the embedded values in an SQL? I tried expand() on the column and the only thing I see if still the @Rid.

Kindly see an example below. How do I display a contact and all embedded phones in one query?

Contact

Name ---- STRING
Description ---- STRING
Phone ---- EMBEDDEDLIST ----> @Rid of corresponding record in Phone vertex displayed

Phone

Home Phone ---- STRING
Office Phone. ---- STRING

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions