-
Notifications
You must be signed in to change notification settings - Fork 0
Querying
Aaron Aichlmayr edited this page Apr 11, 2019
·
2 revisions
By default there is a _count aggregation field provided. This will group by all requested fields and return the count.
If you want to use other aggregation methods you can add a property and set the IsAggregation
property of your SqlGraphQLField
attribute to true
If you run into type errors in the generated sql queries you can add the SqlType
property of the annotation to set the type of the field in SQL
If you run into type errors when building the objects in c# make sure the c# type is correct or use the Transform
property of the annotation
If you run into type errors when the schema is built you can add the ReturnType
property to you annotation to set the type of the field in GraphQL