My Products
Help
omelhus
PARTNER

Add distinct to aggregate

by omelhus

Hey,

 

It would be cool if you could add distinct to aggregates. It can just return an array of the distinct values of a field.

 

- Ole

3 REPLIES 3
Accepted solution
Marius Bancila
VISMA

by Marius Bancila

We have implemented this feature and is now available in production.

 

Documentation here: https://docs.business.visma.net/docs/schema/queries/distinct.

omelhus
PARTNER

by omelhus

Wow! Awesome!

by Marius Bancila

The aggregate functions we expose in VBNXT GraphQL are the same available in VBS for Visma Business on-premise. Such an option is not available.

Distinct is not an aggregate function so I don't it fits alongside aggregates. Nevertheless, must b first implemented in VB before we could expose it to GraphQL.