Skip to content

Retrieving schema? #20

@cyphercider

Description

@cyphercider

Modifying the schema with op.setSchema ... client.alter(op) works great.

However, how can I retrieve the dgraph schema? I tried passing a query of the form:

schema {
...
}

But it doesn't return results, I assume because a schema query isn't supported by the Txn.query method?

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