Skip to content

magonxesp/criteria

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6235ec9 Β· Jun 28, 2024

History

92 Commits
Jun 17, 2024
Jun 28, 2024
Jun 17, 2024
Apr 12, 2024
Apr 15, 2024
Jun 11, 2024
Jun 28, 2024
Apr 12, 2024
Apr 20, 2024
Jun 28, 2024
Apr 12, 2024
Apr 20, 2024
Jun 26, 2024
May 16, 2024
May 17, 2024
Jun 17, 2024
Apr 12, 2024
Apr 12, 2024
Apr 20, 2024

Repository files navigation

Criteria

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 to create a bunch of methods to create the same query with different filters.

Installation

Add the dependency on your build.gradle.kts

dependencies {
    implementation("io.github.magonxesp:criteria-core:0.4.0")
}

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

dependencies {
    implementation("io.github.magonxesp:criteria-spring-boot:0.4.0")
}

Usage

Read the docs.

Development

See the development guide