Example usage for com.mongodb ReadConcern asDocument

List of usage examples for com.mongodb ReadConcern asDocument

Introduction

In this page you can find the example usage for com.mongodb ReadConcern asDocument.

Prototype

public BsonDocument asDocument() 

Source Link

Document

Gets this read concern as a document.

Usage

From source file:joliex.mongodb.MongoDbConnector.java

@RequestResponse
public Value getDBReadConcern() {
    ReadConcern readConcern = db.getReadConcern();
    return (processQueryRow(readConcern.asDocument()));
}