Introduction

The Criteria design pattern helps us to maintain a single form to perform search queries on our database.

It helps to implement the repository design pattern, avoiding creating a bunch of methods to create the same query with different filters.

This implementation is adapted for the following drivers or ORMs:

Instalation

Add the criteria-core dependency on your build.gradle.kts.

implementation("io.github.magonxesp:criteria-core:0.2.8")

For Spring Boot and Spring Data JPA add the spring-boot dependency.

implementation("io.github.magonxesp:criteria-spring-boot:0.2.8")

Last updated