× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
rkshakya reported 2013-05-09T04:54:13Z  · last modified 2013-08-24T07:06:18Z

a variant of select query with truth condition not supported on ADS (mongodb)


Priority Major
Complexity Unknown
Component MongoSQL
Version 14.0

While trying to run query of type :

select count(*) from zips where state = 'CA' || 1 = 2

the ADS displays error as

>[Error] Script lines: 110-110 ----------------------
Exception occurred during aggregation: exception: $where is not allowed inside of a $match aggregation expression 

[Executed: 5/9/2013 10:36:38 AM] [Execution: 0ms]

whereas running the query as select * from zips where state = 'CA' || 1 = 2 runs just fine.

Could you please investigate why query of type select count(*) from zips where state = 'CA' || 1 = 2 is not supported for mongodb? (This type of query is supported in other RDBMS (i ve tried in mysql)). Thanks

Issue #8864

Closed
Fixed
Resolved 2013-07-31T18:15:24Z
 
 
Completion
No due date
Fixed Build ADS 14.0.0-beta-76 (mongo-jdbc 1.2.6)
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017