Skip Menu |
 

This queue is for tickets about the KiokuDB-Backend-MongoDB CPAN distribution.

Report information
The Basics
Id: 57589
Status: new
Priority: 0/
Queue: KiokuDB-Backend-MongoDB

People
Owner: Nobody in particular
Requestors: bd [...] bc-bd.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: $-Operators don't work with ->search()
Date: Tue, 18 May 2010 17:10:40 +0200
To: bug-KiokuDB-Backend-MongoDB [...] rt.cpan.org
From: bd [...] bc-bd.org
Download (untitled) / with headers
text/plain 590b
Hi, when using a $-operator my $lookup = $dir->search({ 'hidden' => { '$ne' => "1" }}); this is passed to mongodb: 'data.hidden' => 'HASH(0xaf26560)' insetad of 'data.hidden' => { '$ne' => '1' } }, What I am trying to do is search for all objects, that do not have the hidden attribute set, e.g. where it is absent. libcatalyst-model-kiokudb-perl 0.11-1 libkiokudb-backend-bdb-perl 0.14-1 libkiokudb-backend-mongodb-perl 0.02-1 libkiokudb-perl 0.42-1 libmongodb-perl 0.32-1 mongodb 1:1.4.2-1 perl 5.10.1-12 regards Stefan -- BOFH excuse #119: evil hackers from Serbia.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.