Hi altogether
I am in the process of adapting ActiveOrient (
https://github.com/topofocus/active-orient) to Version 2.2.
And found that DatabaseClass#Last returns the first instead of the last record.
The following query is transmitted by the test-suite:
select from industry order by @rid desc
The result is the same as
select from industry
I verified this in studio.
The documentation @
http://orientdb.com/docs/2.2/SQL-Query.htmlrefers explicit to this feature:
Return records from the class Profile in descending order of their creation:
orientdb> SELECT FROM Profile ORDER BY @rid DESC
Beginning in version 1.7.7, OrientDB can open an inverse cursor against clusters. This is very fast and doesn't require the classic ordering resources, CPU and RAM.
Is this a bug or missed I something?
hartmut