[Python-Dev] 回复: Python-Dev Digest, Vol 112, Issue 8

邓九祥 jiuc at yahoo.cn
Wed Nov 7 06:24:11 CET 2012

I hava some question about Object which "inital" need ,but return "object" in mongo shell. So 
 BSONElement initial = p["initial"];
            if ( initial.type() != Object ) {
                errmsg = "initial has to be an object";
                return false;
 "initial.type() != Object " will be found ,so "group" command will not run forever. What can'i do
Mybe this is my fase, please give me some advise.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20121107/2dbd62f2/attachment.html>

More information about the Python-Dev mailing list