You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in transaction:
--insert record in the class with unique index
--select this record by indexed field
expected: nearly inserted record is found
Actual behavior
no records found
Steps to reproduce
drop class TestClass if exists unsafe;
create class TestClass extends V;
create property TestClass.name STRING;
create index TestClass.name on TestClass(name) unique;
begin;
let b = CREATE VERTEX TestClass SET name = 'b';
let last = (select * from TestClass where name='b');
commit;
return $last.size();
This code returns 0.
If we comment out 'create index' statement, we got 1.
The text was updated successfully, but these errors were encountered:
OrientDB Version: 3.1.0
Java Version: 1.8
OS: Windows 10
Expected behavior
in transaction:
--insert record in the class with unique index
--select this record by indexed field
expected: nearly inserted record is found
Actual behavior
no records found
Steps to reproduce
This code returns 0.
If we comment out 'create index' statement, we got 1.
The text was updated successfully, but these errors were encountered: