NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item9693 for docu changes for 1.2 and 2.0.

Item10628: MongoDB query does not do numeric OP's on number fields / prefs correctly, because atm, everything isa string.

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Urgent Confirmed Extension MongoDBPlugin SvenDowideit
I'm not at all sure how to fix this in a performant way.

I probably have to make a numeric_value field everywhere - PREFS, ATTACHMENTS, whatever, and when there is an $lt etc, detect and use the other value?

cos string ops need to work ok on non-strings too?

might try out converting to numerics in db tho

-- SvenDowideit - 12 Apr 2011

 

ItemTemplate edit

Summary MongoDB query does not do numeric OP's on number fields / prefs correctly, because atm, everything isa string.
ReportedBy SvenDowideit
Codebase
SVN Range
AppliesTo Extension
Component MongoDBPlugin
Priority Urgent
CurrentState Confirmed
WaitingFor SvenDowideit
Checkins
TargetRelease n/a
ReleasedIn n/a
Topic revision: r1 - 12 Apr 2011, SvenDowideit
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads