Package | Description |
---|---|
com.tomtom.speedtools.mongodb |
Modifier and Type | Method and Description |
---|---|
static <T> T |
DaoUtils.findOne(com.mongodb.DBCollection collection,
EntityMapper<T> mapper,
MongoDBQuery query)
Finds a single entity that satisfies a specified query filter.
|
static void |
DaoUtils.update(com.mongodb.DBCollection collection,
MongoDBQuery query,
MongoDBUpdate update)
Update a document in a collection.
|
static void |
DaoUtils.update(com.mongodb.DBCollection collection,
MongoDBQuery query,
MongoDBUpdate update,
boolean updateLastModified)
Update a document in a collection.
|
Copyright © 2018 TomTom International BV. All rights reserved.