Give me the weekend to fix this. Thanks.
Marc
> --
> You received this message because you are subscribed to the Google Groups "CFMongoDB" group.
> To post to this group, send email to cfmo...@googlegroups.com.
> To unsubscribe from this group, send email to cfmongodb+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/cfmongodb?hl=en.
>
>
Marc
5.1
5.1.1
5.2
But right now, because the numbers are still interpreted as numeric, I
end up getting:
5.1
5.2
5.1.1
I hope this is clear. I think what's needed is a way to bypass the
automatic type conversion, so that the types can be set manually.
var dbo = mongo.getMongoConfig().getMongoFactory().getObject("com.mongodb.BasicDBObject");
dbo.put( {yourstruct} );
--
You received this message because you are subscribed to the Google Groups "CFMongoDB" group.
To view this discussion on the web visit https://groups.google.com/d/msg/cfmongodb/-/nkYargepBboJ.
Hi,
I just learned that MongoDb also uses indexes when using regex() (with '^value$'). So I can use regex('field', '^value$') instead of eq('field', 'value').
Cheers
Pascal
On Wednesday, January 2, 2013 4:47:10 PM UTC, Marc Esher wrote:Hi Pascal,Have you tried the tip above for creating a regular Mongo BasicDBObject?var dbo = mongo.getMongoConfig().getMongoFactory().getObject("com.mongodb.BasicDBObject");
dbo.put( {yourstruct} );On Wed, Jan 2, 2013 at 10:47 AM, phofmann <phof...@trustinternational.com> wrote:
Hi,Is there a way to bypass cfmongodbs type conversion when using .query().$eq(...).find()? My problem is, that I want to use $eq to search for a string consisting only of numbers...
Cheers
Pascal--To view this discussion on the web visit https://groups.google.com/d/msg/cfmongodb/-/nkYargepBboJ.
You received this message because you are subscribed to the Google Groups "CFMongoDB" group.
To post to this group, send email to cfmo...@googlegroups.com.
To unsubscribe from this group, send email to cfmongodb+...@googlegroups.com.--
You received this message because you are subscribed to the Google Groups "CFMongoDB" group.
To view this discussion on the web visit https://groups.google.com/d/msg/cfmongodb/-/ywUE2Aq_BlQJ.
To unsubscribe from this group and stop receiving emails from it, send an email to cfmongodb+...@googlegroups.com.
Visit this group at http://groups.google.com/group/cfmongodb?hl=en.For more options, visit https://groups.google.com/groups/opt_out.