SpringSource/spring-data-mongodb — pull request #53 by thomasdarimont (2013-07-22 12:39:07+00:00)
Title: DATAMONGO-709 - Added support for restricting results by document types.

Added restrict(…) method to the Query API that generates appropriate filter criteria to restrict the result to certain types only.
Added test case to MongoTemplateTests and QueryTests.