Note, however, that Mongo does not support arbitrary precision
integers, so if you need more than 64 bits than you'll have to use a
string.
- Robert
On Sat, Nov 27, 2010 at 6:02 PM, William Stein wrote:
> Use int(..) instead of Integer. Mongo only encodes standard python types.
>
> On Saturday,
Use int(..) instead of Integer. Mongo only encodes standard python types.
On Saturday, November 27, 2010, jonhanke wrote:
> Hi,
>
> I'm trying to use PyMongo in Sage 4.6, and am having trouble encoding
> numbers in dictionary documents, though strings seem to work well.
> Any comments are apprec
Hi,
I'm trying to use PyMongo in Sage 4.6, and am having trouble encoding
numbers in dictionary documents, though strings seem to work well.
Any comments are appreciated! Thanks,
-Jon
=)
=
sage: C = pymongo.Connection("localhost:29000")
sage: col