orientdb icon indicating copy to clipboard operation
orientdb copied to clipboard

order by with multiple fields not documented properly (or not supported properly)

Open davidmoten opened this issue 13 years ago • 3 comments

Hi

I tried a query like this

select from Entry order by a,b 

which according to syntax on https://github.com/nuvolabase/orientdb/wiki/SQL-Query should work but fails with a syntax exception.

The only way I could get this to work is by writing:

select from Entry order by a asc,b asc

which is not described accurately enough by the documentation. Please update the docs or fix the parsing of the sql.

Thanks Dave

davidmoten avatar Dec 25 '12 00:12 davidmoten

Hi Dave, from my point of view it's a bug, so I prefer to fix it.

lvca avatar Dec 26 '12 12:12 lvca

See also #2094

dxxr avatar Feb 13 '15 16:02 dxxr

fixed in 2.1 snapshot

luigidellaquila avatar Feb 16 '15 17:02 luigidellaquila