Hi,

My code is

OCommandSQL oCommand = new OCommandSQL("select COUNT(*) FROM (SELECT FROM 
User WHERE Email=:p0)")
ArrayList result = database.command(oCommand).execute(paramMap);

In version 1.7.8 and earlier versions, that will return a list of rows, in 
this case, that is [[1]]

But in version 2.1.8, it returns a list of documents, in this case, that is 
[ { COUNT: 1} ]

I think, the result set should is better like earlier versions.

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