Hello ! 

back to this... 
Is there a plan or a possibility to see a kind of document reference type 
in a future version ? ( other than client convention) 
Thanks ! 

JM 



On Friday, 27 November 2015 10:34:10 UTC+1, Jan Steemann wrote:
>
> Hi,
>
> there is no reference type yet, so references can only be implemented via 
> client conventions (e.g. using an "@" in the attribute name would mark the 
> value as a reference).
> We'll be moving towards a new type system for the data storage soon, and 
> this will at least not prevent having special types for references. The 
> plan is to have the new type system ready for 3.0, and when it's in place 
> we can think about having references a data types and if there should be 
> any guarantees for references (e.g. should dangling references be allowed 
> or not). But that's still something for the future.
>
> Best regards
> Jan
>
> 2015-11-26 18:04 GMT+01:00 Neptis rivularis <[email protected] 
> <javascript:>>:
>
>> Thank you Jan for your complete answer... It make sense... 
>>
>> Have you already considered another internal type or mechanism to cope 
>> with id references? 
>>
>> instead of: 
>> { "_id":"customers/phil" , "name": "phil", "address":"London" , 
>> "wishlist": [ "products/01", "products/02", "products/03"] }
>>
>> we could have something like: 
>>
>> { "_id":"customers/phil" , "name": "phil", "address":"London" , 
>> "@wishlist": [ "products/01", "products/02", "products/03"] }
>>
>> or perhaps better :
>>
>> { "_id":"customers/phil" , "name": "phil", "address":"London" , 
>> "wishlist": [ {"@ref":"products/01"}, {"@ref":"products/02"}, 
>> {"@ref":"products/03"}] }
>>
>>
>> It would then be possible to update automatically the collection name in 
>> the id reference when it is changed. 
>>
>> It would also close a gap between the models in Arango multimodel 
>> approach...
>>
>>
>> Cheers, 
>>
>> JM 
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "ArangoDB" 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 
"ArangoDB" 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