mooseql icon indicating copy to clipboard operation
mooseql copied to clipboard

Add a query example

Open jean343 opened this issue 8 years ago • 0 comments

When writing custom query, there is no need to add new GraphQLObjectType, only the fields should be passed in.

const schema = mooseql([Category], { query: { field1, field2 } })

Could you add an example in the documentation?

jean343 avatar Oct 18 '16 23:10 jean343