{"repo":"turkraft/springfilter","free":true,"listed":false,"github":"https://github.com/turkraft/springfilter","clone":"git clone https://github.com/turkraft/springfilter.git","description":"Dynamically filter JPA entities, Mongo collections, and Java in-memory objects with a user-friendly query syntax. Seamless integration with Spring APIs. Star to support the project! ❤️","language":"Java","stars":287,"topics":["spring","search","filter","jpa","hibernate","query","mongodb","java","odata"],"license":"MIT","category":"data-pipelines","readme_excerpt":"Spring Filter :cn: 中文 :es: Español :jp: 日本語 :tr: Türkçe Dynamic query filtering for Spring applications. Pass filter expressions as URL parameters and apply them to JPA repositories, MongoDB collections, or in-memory Java objects. The library parses filter expressions into abstract syntax trees, then converts them to JPA Criteria queries, MongoDB queries, or Java Predicates depending on your module. You can also use the filter builder to construct queries programmatically. Now compatible with Spring Boot 4! Looking for older versions? See 2.x.x/3.x.x branches. Ecosystem Also available for JavaScript and TypeScript: Package Description --- --- FilterKit Core library — filter arrays, build queries, parse expressions FilterKit TanStack TanStack Table column filters → Spring Filter FilterKit QueryBuilder react-querybuilder queries → Spring Filter FilterKit Prisma Filter expressions → Prisma where clauses FilterKit Drizzle Filter expressions → Drizzle where clauses Example (try it live) /search?filter= average (ratings) 4.5 and brand.name in ['audi', 'land rover'] and (year 2018 or km ixorbv marcopag90 Modules JPA Filter JPA entities directly in database queries. The module converts filter expressions to JPA Criteria API specifications. The repository must implement JpaSpecificationExecutor . SimpleJpaRepository is a standard implementation. Remove the Pageable argument if you don't need pagination. JPA with Native Queries JPA with Projections MongoDB Filter MongoDB documents usin","default_branch":null,"files":null,"tree":[],"storefront":"/r/turkraft","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/turkraft/springfilter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}