Hi,

I have a query

SELECT COUNT(*) FROM (SELECT FROM User WHERE Email=:p0)

>From Studio (Http protocol), it returns [ {  COUNT: 1 } ] row

>From JavaAPI (Binary protocol) version 2.1.8, it returns [ {  COUNT: 0 } ]. 
It returns [ {  COUNT: 1 } ] in version 1.7.8.

I change it to the query to

SELECT COUNT(*) FROM User WHERE Email=:p0

It always return [ {  COUNT: 1 } ]

My Best,
Hung Tran


-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to