Join us Sept 17 at .local NYC! Use code WEB50 to save 50% on tickets. Learn more >
MongoDB Event
Docs Menu
Docs Home
/ / /
Scala ドライバー

インストール

The recommended way to get started with the Scala driver in your project is by using a dependency management system. To manually download the MongoDB Scala driver, see the Scala driver Maven repository.

次のセクションには、非ブロッキング バックプレッシャーを持つ非同期ストリーム処理のための Reactive Streams ベースの Scala 実装が含まれています。

If you are using Maven to manage your packages, add the following entry to your pom.xml dependencies list:

<dependencies>
<dependency>
<groupId>org.mongodb.scala</groupId>
<artifactId>mongo-scala-driver_2.12</artifactId>
<version>5.0.0</version>
</dependency>
</dependencies>

If you are using sbt to manage your packages, add the following entry to your build.sbt file:

libraryDependencies += "org.mongodb.scala" %% "mongo-scala-driver" % "5.0.0"

If you are using Maven to manage your packages, add the following entry to your pom.xml dependencies list:

<dependencies>
<dependency>
<groupId>org.mongodb.scala</groupId>
<artifactId>mongo-scala-driver_2.11</artifactId>
<version>5.0.0</version>
</dependency>
</dependencies>

If you are using sbt to manage your packages, add the following entry to your build.sbt file:

libraryDependencies += "org.mongodb.scala" %% "mongo-scala-driver" % "5.0.0"

戻る

MongoDB Scalaドライバー