Skip to content

Fetch node property having space in between without using "expand(_all_)"? #2530

@AJAviJain

Description

@AJAviJain

If you suspect this could be a bug, follow the template.

  • What version of Dgraph are you using?
    v1.0.6

  • Have you tried reproducing the issue with latest release?
    Yes

  • What is the hardware spec (RAM, OS)?
    Windows 10, 16GB RAM

  • Steps to reproduce the issue (command/config used to run Dgraph).
    Using dGraph Browser provided by dgraph-ratel.
    Query To run >> {node (func: uid(0x2) { uid name "abc xyz" }}

Here "abc xyz" is the one property name which has been put while creating node, and i can see all the properties by using "expand(all)" .

  • Expected behaviour and actual result.
    While trying to fetch property having space in between, it doesn't fetch the expected property value, as there is a space in between so it gives nothing while fetching.

As there can be number of edges and facets, so i can't use expand(all) because that takes a lot of time.

What could be the way to achieve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/questionSomething requiring a response.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions