Skip to content
 
 

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Java Mongo Util

Example

MongoDataUtil.insertObjectInMongo(object);

Inserts the object in Mongo in a collection named after the Class name.

 mongoUtil.getObjectFromCollection(object.class, hashMap);

Retrieves the object from Mongo. The first parameter is the Class to marshall to and the hash map is a hash map of parameters for the mongo Query. ["firstName": "John", "lastName": "Doe"]

About

A Mongo utility that wraps the mongo-java-driver library in favor of abstraction of type.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages