Class MongoUtils
java.lang.Object
io.micronaut.data.mongodb.operations.MongoUtils
Mongo internal utils.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.bson.BsonValue
entityIdValue
(io.micronaut.core.convert.ConversionService conversionService, RuntimePersistentEntity<Object> persistentEntity, Object entity, org.bson.codecs.configuration.CodecRegistry codecRegistry) static <T> org.bson.BsonValue
idValue
(io.micronaut.core.convert.ConversionService conversionService, RuntimePersistentEntity<T> persistentEntity, Object idValue, org.bson.codecs.configuration.CodecRegistry codecRegistry) static org.bson.BsonValue
toBsonValue
(io.micronaut.core.convert.ConversionService conversionService, Object value, org.bson.codecs.configuration.CodecRegistry codecRegistry)
-
Field Details
-
ID
- See Also:
-
-
Method Details
-
entityIdValue
public static org.bson.BsonValue entityIdValue(io.micronaut.core.convert.ConversionService conversionService, RuntimePersistentEntity<Object> persistentEntity, Object entity, org.bson.codecs.configuration.CodecRegistry codecRegistry) -
idValue
public static <T> org.bson.BsonValue idValue(io.micronaut.core.convert.ConversionService conversionService, RuntimePersistentEntity<T> persistentEntity, Object idValue, org.bson.codecs.configuration.CodecRegistry codecRegistry) -
toBsonValue
public static org.bson.BsonValue toBsonValue(io.micronaut.core.convert.ConversionService conversionService, Object value, org.bson.codecs.configuration.CodecRegistry codecRegistry)
-