All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.scalajs.npm.mongodb.Connection.scala Maven / Gradle / Ivy

There is a newer version: 2.2.22-7
Show newest version
package io.scalajs.npm.mongodb

import scala.scalajs.js
import scala.scalajs.js.annotation.{JSImport, ScalaJSDefined}

/**
  * MongoDB Connection
  * @author [email protected]
  */
@js.native
@JSImport("mongodb", "Connection")
class Connection extends js.Object

/**
  * Mongo Client Connection Options
  * @author [email protected]
  * @see [[https://mongodb.github.io/node-mongodb-native/api-generated/mongoclient.html#connect]]
  */
@ScalaJSDefined
class ConnectionOptions(var uri_decode_auth: js.UndefOr[Boolean] = js.undefined,
                        var db: js.UndefOr[js.Object] = js.undefined,
                        var server: js.UndefOr[js.Object] = js.undefined,
                        var replSet: js.UndefOr[js.Object] = js.undefined,
                        var mongos: js.UndefOr[js.Object] = js.undefined)
  extends js.Object





© 2015 - 2024 Weber Informatics LLC | Privacy Policy