DOC 2.2.6
Circle

Here you can add a relation into a circle of relations.
All relations in a circle have the same meaning (with the same or different languages).
Warning: All relations within a circle must be combined together.
Warning: Position blocks are separate with a space (and each block separate with | ).

circle mergecircle existcircle containscircle showcircle idscircle idcircle delete

circle merge <level> <thoughtId1> <thoughtId2>

Description

    To merge two circles.

Parameters

    level:   The level (ex: th|r) - string - required
    thoughtId1:   The MAIN thought id - string - required
    thoughtId2:   The thought id - string - required
admin
circle merge "r" RL[4] RL[5]
mentdb
CI[0]

circle exist <level> <relationIdToFind>

Description

    To chek if a link already existe into a circle

Parameters

    level:   The level (ex: th|r) - string - required
    relationIdToFind:   The relation id to find - string - required
admin
circle exist "r" [R1]
mentdb
1

circle contains <level> <relationId> <relationIdToFind>

Description

    To chek if a circle contains a relation

Parameters

    level:   The level (ex: th|r) - string - required
    relationId:   The relation id - string - required
    relationIdToFind:   The relation id to find - string - required
admin
circle contains "r" [R1] [R2]
mentdb
1

circle show <level> <relationId>

Description

    To show all relations from a circle

Parameters

    level:   The level (ex: th|r) - string - required
    relationId:   The relation id - string - required
admin
circle show "r" [R1]
mentdb
{<br> "en RL[4z] RL[50]": "1 2 3 3",<br> "en RL[50] RL[4z]": "1 2 3|4"<br>}

circle ids <level> <lang> <relationId>

Description

    To show all relations ids from a circle

Parameters

    level:   The level (ex: th|r) - string - required
    lang:   The prefered language (ex: fr|en) - string - not required
    relationId:   The relation id - string - required
admin
circle ids "r" [R1]
mentdb
[<br> "RL[4z]",<br> "RL[50]"<br>]

circle id <level> <lang> <relationId>

Description

    To get a relation id from a circle

Parameters

    level:   The level (ex: th|r) - string - required
    lang:   The prefered language (ex: fr|en) - string - required
    relationId:   The relation id - string - required
admin
circle id "r" fr [R1]
mentdb
RL[4z]

circle delete <level> <relationIdToDelete>

Description

    To delete all links by relation from circle

Parameters

    level:   The level (ex: th|r) - string - required
    relationIdToDelete:   The relation id to delete - string - required
admin
circle delete "r" [R1]
mentdb
The relation is out of the circle.
admin
circle show "r" [R2]
mentdb
{}
admin
circle show "r" [R1]
mentdb
{}


MentDB © 2012 - 2020 - Legal Notice