super-graph/bench/query.lua

4 lines
265 B
Lua
Raw Permalink Normal View History

2019-06-17 07:58:00 +02:00
wrk.method = "POST"
wrk.headers["Content-Type"] = "application/json"
wrk.body = [[{"query":" { products( limit: 30, order_by: { price: desc }, distinct: [ price ] where: { id: { and: { greater_or_equals: 20, lt: 28 } } }) { id name price user { id email } } } "}]]