Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Notifications You must be signed in to change notification settings

kuenne/java-mongo-util

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

2 Commits

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%

AltStyle によって変換されたページ (->オリジナル) /