File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ Querying
4545You can query it for outputing all the sql transactions that happened in
4646the GraphQL request, like:
4747
48- .. code :: graphql
48+ .. code ::
4949
5050 {
5151 # A example that will use the ORM for interact with the DB
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ For example:
4646
4747 You could then perform a query such as:
4848
49- .. code :: graphql
49+ .. code ::
5050
5151 query {
5252 # Note that fields names become camelcased
@@ -77,7 +77,7 @@ You can also make more complex lookup types available:
7777
7878 Which you could query as follows:
7979
80- .. code :: graphql
80+ .. code ::
8181
8282 query {
8383 # Note that fields names become camelcased
@@ -115,7 +115,7 @@ For example:
115115
116116 You can then control the ordering via the ``orderBy `` argument:
117117
118- .. code :: graphql
118+ .. code ::
119119
120120 query {
121121 allAnimals(orderBy: "name") {
Original file line number Diff line number Diff line change @@ -262,7 +262,7 @@ from the command line.
262262 Go to `localhost:8000/graphiql <http://localhost:8000/graphiql >`__ and
263263type your first query!
264264
265- .. code :: graphql
265+ .. code ::
266266
267267 query {
268268 allIngredients {
@@ -278,7 +278,7 @@ type your first query!
278278 The above will return the names & IDs for all ingredients. But perhaps
279279you want a specific ingredient:
280280
281- .. code :: graphql
281+ .. code ::
282282
283283 query {
284284 # Graphene creates globally unique IDs for all objects.
@@ -290,7 +290,7 @@ you want a specific ingredient:
290290
291291 You can also get each ingredient for each category:
292292
293- .. code :: graphql
293+ .. code ::
294294
295295 query {
296296 allCategories {
@@ -311,7 +311,7 @@ You can also get each ingredient for each category:
311311
312312 Or you can get only 'meat' ingredients containing the letter 'e':
313313
314- .. code :: graphql
314+ .. code ::
315315
316316 query {
317317 # You can also use `category: "CATEGORY GLOBAL ID"`
You can’t perform that action at this time.
0 commit comments