search

Home  >  Q&A  >  body text

node.js - graphql.js 如何能查询出多条数据呢?

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

黄舟黄舟2785 days ago456

reply all(1)I'll reply

  • 怪我咯

    怪我咯2017-04-17 16:18:05

    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.

    reply
    0
  • Cancelreply