ddbb queries through DQL