all

molly.core.syntax.all
object all extends bson, bsondocument, filters, model

Attributes

Graph
Supertypes
trait model
trait filters
trait bsondocument
trait bson
class Object
trait Matchable
class Any
Show all
Self type
all.type

Members list

Type members

Inherited classlikes

object BsonArray

Attributes

Inherited from:
bson
Supertypes
class Object
trait Matchable
class Any
object BsonBinary

Attributes

Inherited from:
bson
Supertypes
class Object
trait Matchable
class Any
object BsonBoolean

Attributes

Inherited from:
bson
Supertypes
class Object
trait Matchable
class Any
object BsonDateTime

Attributes

Inherited from:
bson
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
bson
Supertypes
class Object
trait Matchable
class Any
object BsonDocument

Attributes

Inherited from:
bsondocument
Supertypes
class Object
trait Matchable
class Any
object BsonDouble

Attributes

Inherited from:
bson
Supertypes
class Object
trait Matchable
class Any
object BsonInt32

Attributes

Inherited from:
bson
Supertypes
class Object
trait Matchable
class Any
object BsonInt64

Attributes

Inherited from:
bson
Supertypes
class Object
trait Matchable
class Any
object BsonNull

Attributes

Inherited from:
bson
Supertypes
class Object
trait Matchable
class Any
object BsonObjectId

Attributes

Inherited from:
bson
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
bson
Supertypes
class Object
trait Matchable
class Any
object BsonString

Attributes

Inherited from:
bson
Supertypes
class Object
trait Matchable
class Any
object BsonTimestamp

Attributes

Inherited from:
bson
Supertypes
class Object
trait Matchable
class Any
object BsonUndefined

Attributes

Inherited from:
bson
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
model
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
model
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
model
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
model
Supertypes
class Object
trait Matchable
class Any
object DeleteOptions

Attributes

Inherited from:
model
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
model
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
model
Supertypes
class Object
trait Matchable
class Any
object IndexModel

Attributes

Inherited from:
model
Supertypes
class Object
trait Matchable
class Any
object IndexOptions

Attributes

Inherited from:
model
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
model
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
model
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
model
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
model
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
model
Supertypes
class Object
trait Matchable
class Any
object UpdateOptions

Attributes

Inherited from:
model
Supertypes
class Object
trait Matchable
class Any

Inherited types

type BsonArray = BsonArray

Attributes

Inherited from:
bson
type BsonBinary = BsonBinary

Attributes

Inherited from:
bson
type BsonBoolean = BsonBoolean

Attributes

Inherited from:
bson
type BsonDateTime = BsonDateTime

Attributes

Inherited from:
bson
type BsonDecimal128 = BsonDecimal128

Attributes

Inherited from:
bson
type BsonDocument = BsonDocument

Attributes

Inherited from:
bsondocument

Attributes

Inherited from:
bsondocument
type BsonDouble = BsonDouble

Attributes

Inherited from:
bson
type BsonInt32 = BsonInt32

Attributes

Inherited from:
bson
type BsonInt64 = BsonInt64

Attributes

Inherited from:
bson
type BsonNull = BsonNull

Attributes

Inherited from:
bson
type BsonObjectId = BsonObjectId

Attributes

Inherited from:
bson
type BsonRegularExpression = BsonRegularExpression

Attributes

Inherited from:
bson
type BsonString = BsonString

Attributes

Inherited from:
bson
type BsonTimestamp = BsonTimestamp

Attributes

Inherited from:
bson
type BsonUndefined = BsonUndefined

Attributes

Inherited from:
bson
type BsonValue = BsonValue

Attributes

Inherited from:
bson
type BulkWriteOptions = BulkWriteOptions

Attributes

Inherited from:
model
type CreateIndexOptions = CreateIndexOptions

Attributes

Inherited from:
model
type Decimal128 = Decimal128

Attributes

Inherited from:
bson
type DeleteManyModel = DeleteManyModel[BsonDocument]

Attributes

Inherited from:
model
type DeleteOneModel = DeleteOneModel[BsonDocument]

Attributes

Inherited from:
model
type DeleteOptions = DeleteOptions

Attributes

Inherited from:
model
type FindOneAndReplaceOptions = FindOneAndReplaceOptions

Attributes

Inherited from:
model
type FindOneAndUpdateOptions = FindOneAndUpdateOptions

Attributes

Inherited from:
model
type IndexModel = IndexModel

Attributes

Inherited from:
model
type IndexOptions = IndexOptions

Attributes

Inherited from:
model
type InsertOneModel = InsertOneModel[BsonDocument]

Attributes

Inherited from:
model
type ObjectId = ObjectId

Attributes

Inherited from:
bson
type ReplaceOneModel = ReplaceOneModel[BsonDocument]

Attributes

Inherited from:
model
type ReplaceOptions = ReplaceOptions

Attributes

Inherited from:
model
type UpdateManyModel = UpdateManyModel[BsonDocument]

Attributes

Inherited from:
model
type UpdateOneModel = UpdateOneModel[BsonDocument]

Attributes

Inherited from:
model
type UpdateOptions = UpdateOptions

Attributes

Inherited from:
model
type WriteModel = WriteModel[BsonDocument]

Attributes

Inherited from:
model

Extensions

Inherited extensions

extension (bsonDoc: BsonDocument)
def append(key: String, valueOpt: Option[BsonValue]): BsonDocument

Append an optional value with the given key to the document.

Append an optional value with the given key to the document.

Value parameters

key

The key field

valueOpt

An Option BsonValue(@see org.bson.BsonValue), only if the value is defined then the key value pair will be inserted into the BsonDocument

Attributes

Returns

this BsonDocument

Inherited from:
bsondocument
def getOption[T <: BsonValue : ClassTag](key: String): Option[T]

Read the value from the BsonDocument using the key. If the key does not exist or the type of the value is not as expected, None will be returned

Read the value from the BsonDocument using the key. If the key does not exist or the type of the value is not as expected, None will be returned

Type parameters

T

the type parameter for the expected value

Value parameters

key

The key field

Attributes

Returns

optional value of type T

Inherited from:
bsondocument
def setOption(key: String, value: Option[BsonValue]): BsonDocument

If the value is not None, the key value pair will be inserted into the BsonDocument. If the value is None, then the key field is going to be removed from the BsonDocument

If the value is not None, the key value pair will be inserted into the BsonDocument. If the value is None, then the key field is going to be removed from the BsonDocument

Value parameters

key

The key field

value

An Option BsonValue(@see org.bson.BsonValue)

Attributes

Returns

this BsonDocument

Inherited from:
bsondocument
extension (filter: Bson)
def and(anotherFilter: Bson): Bson

Attributes

Inherited from:
filters
def nor: Bson

Attributes

Inherited from:
filters
def not: Bson

Attributes

Inherited from:
filters
def or(anotherFilter: Bson): Bson

Attributes

Inherited from:
filters