Hi Giraldo, we already have an open issue for this. Order by works when fields are in projections.
Lvc@ On 26 February 2014 17:34, Giraldo Rosales <[email protected]> wrote: > Not sure if this is intentional. If you SELECT and ORDER, the results will > only order if the property is in the select. > > Example: > This works: > SELECT id, name FROM Users ORDER by name > > This does not work > SELECT id FROM Users ORDER by name > > Using 1.7RC1. > > -- > > --- > 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/groups/opt_out. > -- --- 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/groups/opt_out.
