Type of chunk bounds

What changes in Type of chunk bounds compared with MongoDB and what your application has to do.

This difference is of the Different kind.

What MongoDB does

It stores each bound with the BSON type it was given.

What TeselaDB does

Bounds come from the range keys: an integer that fits in int comes out as int, and a hashed field always comes out as long.

What your application has to do

Compare bounds by their value. Their type does not count.

See also