Thanks.

I will have a more detailed look and let you know my feedback.


regards,
~nagu.

On Monday, March 2, 2015 at 8:50:33 PM UTC+5:30, Lvc@ wrote:
>
> Hi Nagu,
> Have you looked at:
>
> http://www.orientechnologies.com/docs/last/orientdb.wiki/Graph-Schema.html
>
> Lvc@
>
> On 2 March 2015 at 15:29, nagaraja sosale ramaswamy <[email protected] 
> <javascript:>> wrote:
>
>> I think i may have found some pointers:
>>
>> http://www.orientechnologies.com/orientdb-using-schemas-with-graphs-part-1/
>>
>> unfortunately i cant seem to find the the part 2 of the blog post.
>> that post does show how the first constraint in my example could be 
>> realized.
>> however more complex constraints for edges, based on property of the 
>> vertex, is not illustrated
>>
>> is this possible in OrientDB ?
>>
>>
>> ~nagu.
>>
>>
>> On Monday, March 2, 2015 at 5:38:43 PM UTC+5:30, nagaraja sosale 
>> ramaswamy wrote:
>>>
>>> I would like to add that in myapplication, these constraints are not a 
>>> fixed set of constraints, but would evolve as new types of Vertices get 
>>> added to the graph, it must be possible to define new constraints or adapt 
>>> the existing constraints to new business rules.
>>>
>>>
>>> ~nagu.
>>>
>>> On Monday, March 2, 2015 at 5:35:19 PM UTC+5:30, nagaraja sosale 
>>> ramaswamy wrote:
>>>>
>>>> hi
>>>>
>>>> I would like to know if there is a way in OrientDB to impose 
>>>> constraints on Vertices and/or Edges such that:
>>>> One can only create a certain type of edge between certain type of 
>>>> vertices.
>>>>
>>>> For example, consider a graph having vertices Person and Pet and edge 
>>>> Friend.
>>>> It must be possible to create 'Friend' edges only between Persons and 
>>>> not between Pets.
>>>> Also, it must be possible to create an edge between a Person and a Pet, 
>>>> only if that Pet is a Dog (some property on Person class=Dog)
>>>>
>>>> how would you suggest such constraints be modeled in OrientDB (or 
>>>> whether at all it is appropriate to do this in DB)
>>>>
>>>>
>>>> thanks
>>>> ~nagu.
>>>>
>>>  -- 
>>
>> --- 
>> 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] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 

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