PlayMongoDaoProtocol

io.github.greenleafoss.mongo.play.dao.PlayMongoDaoProtocol
trait PlayMongoDaoProtocol[Id, E] extends GreenLeafMongoDaoProtocol[Id, E], PlayBsonProtocol, PlayJsonBsonOps

Attributes

Graph
Supertypes
trait GreenLeafJsonBsonOps
trait MongoExtendedJsonOps
trait GreenLeafMongoJsonBasicFormats
trait GreenLeafMongoDaoProtocol[Id, E]
class Object
trait Matchable
class Any
Show all
Known subtypes

Members list

Type members

Inherited types

override type Json = JsValue

Attributes

Inherited from:
PlayJsonBsonOps
override type JsonFormat[E] = Format[E]

Attributes

Inherited from:
PlayJsonBsonOps

Value members

Inherited fields

protected val $date: String

Attributes

Inherited from:
MongoExtendedJsonOps
protected val $numberDecimal: String

Attributes

Inherited from:
MongoExtendedJsonOps
protected val $numberDouble: String

Attributes

Inherited from:
MongoExtendedJsonOps
protected val $numberInt: String

Attributes

Inherited from:
MongoExtendedJsonOps
protected val $numberLong: String

Attributes

Inherited from:
MongoExtendedJsonOps
protected val $oid: String

Attributes

Inherited from:
MongoExtendedJsonOps
protected val $regularExpression: String

Attributes

Inherited from:
MongoExtendedJsonOps
protected val jws: JsonWriterSettings

Attributes

Inherited from:
MongoExtendedJsonOps

Givens

Inherited givens

given BigDecimalJsonFormat: Format[BigDecimal]

Attributes

Inherited from:
GreenLeafMongoJsonBasicFormats
given BigIntJsonFormat: Format[BigInt]

Attributes

Inherited from:
GreenLeafMongoJsonBasicFormats
given BooleanJsonFormat: Format[Boolean]

Attributes

Inherited from:
GreenLeafMongoJsonBasicFormats
given ByteJsonFormat: Format[Byte]

Attributes

Inherited from:
GreenLeafMongoJsonBasicFormats
given CharJsonFormat: Format[Char]

Attributes

Inherited from:
GreenLeafMongoJsonBasicFormats
given DoubleJsonFormat: Format[Double]

Attributes

Inherited from:
GreenLeafMongoJsonBasicFormats
given FloatJsonFormat: Format[Float]

Attributes

Inherited from:
GreenLeafMongoJsonBasicFormats
given IntJsonFormat: Format[Int]

Attributes

Inherited from:
GreenLeafMongoJsonBasicFormats
given LocalDateJsonFormat: Format[LocalDate]

Attributes

Inherited from:
GreenLeafMongoJsonBasicFormats
given LocalDateTimeJsonFormat: Format[LocalDateTime]

Attributes

Inherited from:
GreenLeafMongoJsonBasicFormats
given LongJsonFormat: Format[Long]

Attributes

Inherited from:
GreenLeafMongoJsonBasicFormats
given ObjectIdJsonFormat: Format[ObjectId]

Attributes

Inherited from:
GreenLeafMongoJsonBasicFormats
given RegexBsonFormat: Format[Regex]

https://www.mongodb.com/docs/manual/reference/mongodb-extended-json/#mongodb-bsontype-Regular-Expression

https://www.mongodb.com/docs/manual/reference/mongodb-extended-json/#mongodb-bsontype-Regular-Expression

 {
   "$regularExpression": {
     "pattern": "<regexPattern>",
     "options": "<options>"
   }
 }

Attributes

Inherited from:
PlayBsonProtocol
given ShortJsonFormat: Format[Short]

Attributes

Inherited from:
GreenLeafMongoJsonBasicFormats
given StringJsonFormat: Format[String]

Attributes

Inherited from:
GreenLeafMongoJsonBasicFormats
given SymbolJsonFormat: Format[Symbol]

Attributes

Inherited from:
GreenLeafMongoJsonBasicFormats
given UUIDJsonFormat: Format[UUID]

Attributes

Inherited from:
GreenLeafMongoJsonBasicFormats
given UnitJsonFormat: Format[Unit]

Attributes

Inherited from:
GreenLeafMongoJsonBasicFormats
given ZonedDateTimeJsonFormat: Format[ZonedDateTime]

Attributes

Inherited from:
GreenLeafMongoJsonBasicFormats
given convertSeqToSeqBson[E : Format]: Conversion[Seq[E], Seq[BsonValue]]

Attributes

Inherited from:
GreenLeafJsonBsonOps
given convertToBson[E : Format]: Conversion[E, BsonValue]

Attributes

Inherited from:
GreenLeafJsonBsonOps
protected given eFormat: JsonFormat[E]

Attributes

Inherited from:
GreenLeafMongoDaoProtocol
protected given idFormat: JsonFormat[Id]

Attributes

Inherited from:
GreenLeafMongoDaoProtocol

Extensions

Inherited extensions

extension (bson: BsonValue)
def convertTo[E : Format]: E

Attributes

Inherited from:
GreenLeafJsonBsonOps
extension [E](e: E)
override def convertToJson: Json

Attributes

Definition Classes
PlayJsonBsonOps -> GreenLeafJsonBsonOps
Inherited from:
PlayJsonBsonOps
extension (json: Json)
override def convertTo[E : Format]: E

Attributes

Definition Classes
PlayJsonBsonOps -> GreenLeafJsonBsonOps
Inherited from:
PlayJsonBsonOps
extension (string: String)
def parseBson: BsonValue

Attributes

Inherited from:
GreenLeafJsonBsonOps
def parseBsonDocument: BsonDocument

Attributes

Inherited from:
GreenLeafJsonBsonOps
extension (string: String)
override def parseJson: Json

Attributes

Definition Classes
PlayJsonBsonOps -> GreenLeafJsonBsonOps
Inherited from:
PlayJsonBsonOps