Does dgraph DQL have a custom handler function?

type Device {
code string.

The content of code is “100-01.00”, “99-01.00”, “98-01.00”… , and its format is xxx-01.00
So how would I get the largest code to compare the contents of xxx using the rules of numbers.
I used graphql-go → dgraph (go grpc → DQL to get data).

Is there a custom DQL built-in function, similar to max() toInt()?
Or use graphql-go for processing after all the data is obtained?

No, we have custom DQL in GraphQL. But no functions like that.

You can try Lambdas for your case.

OK, thank you very much for your reply. :smiley: