Querydsl - Mongodb support

com.querydsl : querydsl-mongodb

Mongodb support for Querydsl

[Website] ·
22 usages
· 3.6k stars

Add dependency in Maven / Gradle

<dependency>
    <groupId>com.querydsl</groupId>
    <artifactId>querydsl-mongodb</artifactId>
    <version>5.0.0</version>
</dependency>

How to add dependency in a project

  1. Add dependency to a Maven project
  2. Add dependency to a Gradle project
  3. Add dependency to a SBT Scala project
  4. Add dependency to a Grape project

1. Add dependency to a Maven project

Maven: Add the com.querydsl:querydsl-mongodb library to the dependencies element of your pom.xml file:

<dependencies>
<dependency>
  <groupId>com.querydsl</groupId>
  <artifactId>querydsl-mongodb</artifactId>
  <version>5.0.0</version>
</dependency>
</dependencies>

To install com.querydsl:querydsl-mongodb library use the following command:

mvn install

2. Add dependency to a Gradle project

Gradle Groovy DSL: Add the com.querydsl:querydsl-mongodb library to the dependencies section of your build.gradle file:

dependencies {
implementation 'com.querydsl:querydsl-mongodb:5.0.0'
}

Gradle Kotlin DSL: Add the com.querydsl:querydsl-mongodb library to the dependencies section of your build.gradle.kts file:

dependencies {
implementation("com.querydsl:querydsl-mongodb:5.0.0")
}

3. Add dependency to a SBT Scala project

Scala: Add the com.querydsl:querydsl-mongodb library to your build.sbt file:

libraryDependencies += "com.querydsl" % "querydsl-mongodb" % "5.0.0"

4. Add dependency to a Grape project

Grape: Add an annotation com.querydsl:querydsl-mongodb library to your groovy script file:

@Grapes(
    @Grab('com.querydsl:querydsl-mongodb:5.0.0')
)

Compile Dependencies (0)

Group / Artifact Usage

Provided Dependencies (3)

Group / Artifact Usage
org.jetbrains » annotations 2,151
org.mongodb.morphia » morphia 60
com.querydsl » querydsl-apt 160

Test Dependencies (1)

Group / Artifact Usage
com.querydsl » querydsl-core 115