Programatically construct a DQL query with filters and functions

That package cannot be imported with dgo package at the project. Either way, it is really strange why there is no library that supports this, or why the package you mentioned is internal only.