node.js - graphql.js 如何能查询出多条数据呢?
黄舟
黄舟 2017-04-17 16:16:05
0
1
454

有条query是这样的:query=' {use(name:"李四"){ID adress} }'
现在我执行和条query只能取到一条数据,但是,name为‘李四’的数据有12条,我如何通过graphql一次把数据查出来呢?

黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all(1)
刘奇

At least post your resolver. How can I help you find the problem? First confirm your return typeGraphQLList(your scheme), and then post the code of your resolve function.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template