doc/book/en/annexes/rql/language.rst
branchstable
changeset 5312 d2dbba898a96
parent 3686 d44b17016944
child 5393 875bdc0fe8ce
equal deleted inserted replaced
5311:34dc38456376 5312:d2dbba898a96
   371 - *Removal of all relations of type 'friend' from the person named 'foo'*
   371 - *Removal of all relations of type 'friend' from the person named 'foo'*
   372   ::
   372   ::
   373 
   373 
   374         DELETE X friend Y WHERE X is Person, X name 'foo'
   374         DELETE X friend Y WHERE X is Person, X name 'foo'
   375 
   375 
       
   376 Virtual RQL relations
       
   377 ~~~~~~~~~~~~~~~~~~~~~
       
   378 
       
   379 Those relations may only be used in RQL query and are not actual
       
   380 attributes of your entities.
       
   381 
       
   382 * `has_text`: relation to use to query the full text index (only for
       
   383   entities having fulltextindexed attributes).
       
   384 
       
   385 * `identity`: relation to use to tell that a RQL variable should be
       
   386   the same as another (but you've to use two different rql variables
       
   387   for querying purpose)