Skip to content

SharpMongo is a implementation of MongoDB with the syntax as pymongo.

Notifications You must be signed in to change notification settings

WrightKD/SharpMongo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Sharp Mongo

Pymongo syntax usage for c# MongoDB access and usage. [IMPORTANT : THIS PROJECT IS MISSING THE DLL UNTIL A STABLE VERISON IS AVAILABLE.]

Installation

Clone from here

git clone https://github.com/WrightKD/SharpMongo.git

Usage

using SharpMongo

Database Source = Data.connect("mongo://localhost:2704"); 

Collection Collection = new Collection();
var newCollection = Collection["student-data"];

Document Document = new Document();
string query = "{age : 15}";

var document = Document[query];

Dictionary<string, string> Students = new Dictionary<string, string>(5);
Students.Add("Kenneth", "Wright");
Students.Add("James", "McAuther");

Source.add(Students)

Contributing

Pull requests are welcome.Please open an issue first to discuss what you would like to change.

License

MIT

About

SharpMongo is a implementation of MongoDB with the syntax as pymongo.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages