DOC 2.4.0
Versioning

Here you can version your MQL scripts.

version check_groupversion commit_groupversion commit_scriptversion show_commitsversion show_scriptnamesversion show_scriptsversion show_script

version check_group <group>

Description

    Check version difference

Parameters

    group:   The group name - string - required
admin
version check_group "admin";
mentdb
STATE : SCRIPT I : addition.post I : app.100.template.index_ai.actions.MENTDB.se_city.delete.exe I : app.100.template.index_ai.actions.MENTDB.se_city.delete_confirm.exe

version commit_group <group> <msg>

Description

    Commit a group

Parameters

    group:   The group name - string - required
    msg:   The message - string - required
admin
version commit_group "admin" "first commit";
mentdb
20201223144918_sFIEJm_1Qxb5x

version commit_script <group> <filterScritname> <msg>

Description

    Commit a script

Parameters

    group:   The group name - string - required
    filterScritname:   The filter script name - string - required
    msg:   The message - string - required
admin
version commit_script "admin" "addition.post" "first commit";
mentdb
20201223144918_sFIEJm_1Qxb5x

version show_commits <group>

Description

    Show commits from a group

Parameters

    group:   The group name - string - required
admin
version show_commits "admin";
mentdb
COMMITS <20201223163207_6XCUl3_rgqaUo_CMT> admin - first message version show_scriptnames admin 20201223163207_6XCUl3_rgqaUo_CMT; version show_scripts admin 20201223163207_6XCUl3_rgqaUo_CMT; <20201223163254_UvZtRg_EKuRlR_CMT> admin - addition a été changer version show_scriptnames admin 20201223163254_UvZtRg_EKuRlR_CMT; version show_scripts admin 20201223163254_UvZtRg_EKuRlR_CMT;

version show_scriptnames <group> <commit_id>

Description

    Show all scriptnames from a commit

Parameters

    group:   The group name - string - required
    commit_id:   The commit id - string - required
admin
version show_scriptnames "admin" "20201223144918_sFIEJm_1Qxb5x";
mentdb
<20201223163254_UvZtRg_EKuRlR_CMT> version show_script admin 20201223163254_UvZtRg_EKuRlR_CMT addition.post.mql;

version show_scripts <group> <commit_id>

Description

    Show all scriptnames from a commit

Parameters

    group:   The group name - string - required
    commit_id:   The commit id - string - required
admin
version show_scripts "admin" "20201223144918_sFIEJm_1Qxb5x";
mentdb
script merge "addition.post" false 1 (param (var "[v1]" {type is_double [v1]} "description ..." is_null:true is_empty:true "example ...") (var "[v2]" {type is_double [v2]} "description ..." is_null:true is_empty:true "example ...") ;) "description2 ..." { + [v1] [v2]; } "Return ..."; script set delay "addition.post" 0 day {1};

version show_script <group> <commit_id> <scriptname>

Description

    Show a specific script from a commit

Parameters

    group:   The group name - string - required
    commit_id:   The commit id - string - required
    scriptname:   The scriptname - string - required
admin
version show_script "admin" "20201223144918_sFIEJm_1Qxb5x" "addition.post";
mentdb
script merge "addition.post" false 1 (param (var "[v1]" {type is_double [v1]} "description ..." is_null:true is_empty:true "example ...") (var "[v2]" {type is_double [v2]} "description ..." is_null:true is_empty:true "example ...") ;) "description2 ..." { + [v1] [v2]; } "Return ..."; script set delay "addition.post" 0 day {1};


MentDB © 2012 - 2021 - Legal Notice