Skip to content

windprog/pymongo-dbref

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

use

If you want detailed please check example.py

way 1

from pymongo_dbref import WrapperMongoClient
con = WrapperMongoClient(host='localhost', port=17117)

coll_t2 = get_test_coll(con)
cursor = coll_t2.find().deref()
l = list(cursor)
print l

way 2

from pymongo import MongoClient
from pymongo_dbref import patch_cursor
con = MongoClient(host='localhost', port=17117)
patch_cursor()

coll_t2 = get_test_coll(con)
cursor = coll_t2.find()
l = list(cursor)
print l

About

pymongo result dereference.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages