File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ humanType = new gql.GraphQLObjectType({
160
160
// https://docs.arangodb.com/Aql/GraphTraversals.html#working-on-collection-sets
161
161
const species = args . species || null ;
162
162
return db . _query ( aqlQuery `
163
- WITH graphql_characters
163
+ WITH ${ characters }
164
164
FOR friend IN ANY ${ human } ${ friends }
165
165
FILTER !${ species } || friend.$type == ${ species }
166
166
SORT friend._key ASC
@@ -178,7 +178,7 @@ humanType = new gql.GraphQLObjectType({
178
178
// appear in a character), so we are only interested
179
179
// in OUTBOUND edges.
180
180
return db . _query ( aqlQuery `
181
- WITH graphql_characters
181
+ WITH ${ characters }
182
182
FOR episode IN OUTBOUND ${ human . _id } ${ appearsIn }
183
183
SORT episode._key ASC
184
184
RETURN episode
@@ -233,7 +233,7 @@ droidType = new gql.GraphQLObjectType({
233
233
resolve ( droid , args ) {
234
234
const species = args . species || null ;
235
235
return db . _query ( aqlQuery `
236
- WITH graphql_characters
236
+ WITH ${ characters }
237
237
FOR friend IN ANY ${ droid } ${ friends }
238
238
FILTER !${ species } || friend.$type == ${ species }
239
239
SORT friend._key ASC
You can’t perform that action at this time.
0 commit comments