You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+49-30Lines changed: 49 additions & 30 deletions
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ query languages.
23
23
24
24
Furthermore, the GraphQL compiler validates queries through the use of a GraphQL schema
25
25
that specifies the underlying schema of the database. We can currently autogenerate a
26
-
GraphQL schema by introspecting an OrientDB database, (see [Querying OrientDB with GraphQL](#querying-orientdb-with-graphql)).
26
+
GraphQL schema by introspecting an OrientDB database, (see [End to End Example](#end-to-end-example)).
27
27
28
28
In the near future, we plan to add schema autogeneration from SQLAlchemy metadata as well.
29
29
@@ -32,7 +32,7 @@ For a more detailed overview and getting started guide, please see
32
32
33
33
## Table of contents
34
34
*[Features](#features)
35
-
*[Querying OrientDB with GraphQL](#querying-orientdb-with-graphql)
35
+
*[End to End Example](#end-to-end-example)
36
36
*[Definitions](#definitions)
37
37
*[Directives](#directives)
38
38
*[@optional](#optional)
@@ -77,27 +77,56 @@ For a more detailed overview and getting started guide, please see
77
77
these databases. See the [SQL](#sql) section for more details.
78
78
***GraphQL Language Features:** We prioritized and implemented a subset of all functionality supported by the GraphQL language. We hope to add more functionality over time.
79
79
80
-
## Querying OrientDB with GraphQL
81
-
```python3
80
+
## End-to-End Example
81
+
Even though this example specifically targets an OrientDB database, it is meant as a generic
82
+
end-to-end example of how to use the GraphQL compiler.
83
+
84
+
```python
85
+
from graphql.utils.schema_printer import print_schema
0 commit comments