DOC 2.3.3
Sequence

You can manage sequences (base 26) as a standard database.

sequence showsequence get currentsequence add sequence create|insert|addsequence existsequence incrementsequence updatesequence generate updatesequence remove

sequence show

Description

    To show all sequences

admin
sequence show
mentdb
{<br> "relation-O": "-1",<br> "thought": "89",<br> "relation-I": "5",<br> "relation-L": "54",<br> "relation-U": "n",<br> "relation-G": "w",<br> "circle": "0",<br> "relation-R": "3",<br> "relation-A": "7",<br> "relation-D": "1",<br> "relation-S": "1"<br>}

sequence get current <key>

Description

    To get the current sequence value

Parameters

    key:   The key - string - required
admin
sequence get current "thought"
mentdb
6z

sequence add <key> <value>

Synonymous

    sequence create|insert|add

Description

    To add a new sequence

Parameters

    key:   The key - string - required
    value:   The value - integer - required
admin
sequence add "test" 0
mentdb
Sequence added with successful.

sequence exist <key>

Description

    To check if a sequence exist

Parameters

    key:   The key - string - required
admin
sequence exist "test"
mentdb
1

sequence increment <key>

Description

    To increment a sequence value+1

Parameters

    key:   The key - string - required
admin
sequence increment "test"
mentdb
1
admin
sequence increment "test"
mentdb
2

sequence update <key> <value>

Description

    To update a sequence

Parameters

    key:   The key - string - required
    value:   The value - integer - required
admin
sequence update "test" 67
mentdb
Sequence updated with successful.
admin
sequence get current "test"
mentdb
67

sequence generate update <key>

Description

    To generate an update sequence update request

Parameters

    key:   The key - string - required
admin
sequence generate update "test"
mentdb
sequence update "test" "67";

sequence remove <key>

Description

    To remove a sequence

Parameters

    key:   The key - string - required
admin
sequence remove "test"
mentdb
Sequence removed with successful.


MentDB © 2012 - 2020 - Legal Notice