nreco / data

Fast DB-independent DAL for .NET Core: abstract queries, SQL commands builder, schema-less data access, POCO mapping (micro-ORM).
https://www.nrecosite.com/dalc_net.aspx
MIT License
184 stars 39 forks source link

Add example for GraphQL subquery (nested query) #56

Closed GOVYANSONG closed 4 years ago

GOVYANSONG commented 4 years ago

The existing example does not currently demonstrate how to construct nested query. Any special consideration would be required to properly handle foreign key between tables? Does the library support pagination out of box?

VitaliyMF commented 4 years ago

SqliteDemo.GraphQLApi example just illustrates the capability, it doesn't implement anything else beyond simple table queries.

If you're looking for ready-to-use component that can handle:

Take a look to NReco.GraphQL library -- this is commercial product, but pricing is very reasonable.