[Cubicweb] INSERT documentation

Christophe de Vienne christophe at unlish.com
Wed Mar 26 18:08:39 CET 2014


Hello,

Le 26/03/2014 16:58, Dimitri Papadopoulos Orfanos a écrit :
> Hi Nicolas and Sylvain,
>
> Le 26/03/2014 16:49, Nicolas Chauvat a écrit :
>> You are to read "V1 relationship (V2 | <value>)"
>>
>> Examples:
>>
>> INSERT BlogEntry E: E title "My article", E content "some text",
>>                     T tags E, T eid 1234
>>
>> SET T tags E WHERE E is BlogEntry, E title "My article", T name "nice"
> Now I get it. The example also clarifies the case of many attributes for
> a single entity.
>
> If I may suggest a few changes to the documentation:
> * change the documentation to "V1 relationship (V2 | <value>)",
> * explain that "relationship" stands for either "attribute" or "relation",

Just being pedantic, but attributes are actually final relations.
This could be a place to remind that, OR add a global glossary so the
term 'relation' is always a link to a short definition of what a
relation is.

My 2 cents,

Christophe



More information about the Cubicweb mailing list