I think @ForsaiR is referring to constrains on the data that’s stored in Dgraph not the data that is retrieved during queries. In which case, Dgraph does not have a feature like that. It’d be great if you could create an issue in github including a bit on what use-case would be served by this feature.