INNOV-AI

Innovation and Research from Réunion Island, France

Back   Home

Generate a MQL query to update a remote connection @ CONNECT - Connections @ MentDB Weak

> Start the server
> (or start the server for the first time (embedded mode - H2 Database))
> (or start the server for the first time (remote mode - MySQL 8 Database))
> Open the MentDB Weak Editor

Click on 'CONNECT' tab, open 'Remote file', right click on 'demo_cm_cifs' and select 'Generate update'

MQL INPUT
json load "tmpCm" "{}";
json iobject "tmpCm" / "target_files" "[]" ARRAY;
json iobject "tmpCm" / "hostname" "192.168.220.130" STR;
json iobject "tmpCm" / "password" "pwd" STR;
json iobject "tmpCm" / "port" "445" STR;
json iobject "tmpCm" / "domain" "domain" STR;
json iobject "tmpCm" / "readTimeout" "30000" STR;
json iobject "tmpCm" / "connectTimeout" "10000" STR;
json iobject "tmpCm" / "k" "demo_cm_cifs" STR;
json iobject "tmpCm" / "type" "cifs" STR;
json iobject "tmpCm" / "user" "bob" STR;
json iarray "tmpCm" /target_files "{}" OBJ;
json iobject "tmpCm" /target_files[0] "filter" ".*.*" STR;
json iobject "tmpCm" /target_files[0] "dir" "remoteDirectory" STR;
cm set "demo_cm_cifs" {json doc "tmpCm"};
MQL OUTPUT
"1"
start: 2026-01-17   end: 2026-01-31   v_start: 401   v_end: