Hello All, 

I have Problem to use a date type property on a link with the current 
version.

Given I have a vertex class Person and an edge class Beziehung with a date 
type property:

create class Person extends V; 
create class Beziehung extends E; 
create property Beziehung.von date;

create edge Beziehung from #11:1 to #11:0 set typ='Verheiratet', 
von='1869-01-01', bis='1891-10-13'; 
create edge Beziehung from #11:1 to #11:2 set typ='Mutter'; 
von='1875-06-06', bis='1923-03-11'; 

The queries 

select from Beziehung where von < '1870-01-01';
and
traverse any() from 11:1 while ( @class='Person' or ( @class='Beziehung' 
and typ  ='Mutter'));
works as expected.

But any condition on the date type attribute von fails,e.g.
traverse any() from 11:1 while ( @class='Person' or ( @class='Beziehung' 
and von  ='1875-06-06 00:00:00' ) );

I used this on pre 2.0 times with success, is it a bug or has something 
changed in the syntax ?

Bye, Carsten 

-- 

--- 
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