58 lines
1.7 KiB
JSON
58 lines
1.7 KiB
JSON
{
|
|
"query": "SELECT id, nom, timing, joursAvant, heureEnvoi, actif FROM rappels WHERE actif = 1;",
|
|
"command": "mysql --batch --raw --column-names --default-character-set=utf8mb4 --host gateway02.us-east-1.prod.aws.tidbcloud.com --port 4000 --user 4CrrYuB5tme73Qo.root --database 7PAT67UmWoxv8vwp8Bbcv6 --execute SELECT id, nom, timing, joursAvant, heureEnvoi, actif FROM rappels WHERE actif = 1;",
|
|
"rows": [
|
|
{
|
|
"id": "1",
|
|
"nom": "J-7",
|
|
"timing": "pre_formation",
|
|
"joursAvant": "7",
|
|
"heureEnvoi": "09:00",
|
|
"actif": "1"
|
|
},
|
|
{
|
|
"id": "2",
|
|
"nom": "J-15",
|
|
"timing": "pre_formation",
|
|
"joursAvant": "15",
|
|
"heureEnvoi": "09:00",
|
|
"actif": "1"
|
|
},
|
|
{
|
|
"id": "30001",
|
|
"nom": "J+2",
|
|
"timing": "post_formation",
|
|
"joursAvant": "2",
|
|
"heureEnvoi": "09:00",
|
|
"actif": "1"
|
|
},
|
|
{
|
|
"id": "60001",
|
|
"nom": "J-3",
|
|
"timing": "pre_formation",
|
|
"joursAvant": "3",
|
|
"heureEnvoi": "09:00",
|
|
"actif": "1"
|
|
},
|
|
{
|
|
"id": "60002",
|
|
"nom": "J+30",
|
|
"timing": "post_formation",
|
|
"joursAvant": "30",
|
|
"heureEnvoi": "09:00",
|
|
"actif": "1"
|
|
},
|
|
{
|
|
"id": "90001",
|
|
"nom": "J+10",
|
|
"timing": "post_formation",
|
|
"joursAvant": "10",
|
|
"heureEnvoi": "09:00",
|
|
"actif": "1"
|
|
}
|
|
],
|
|
"messages": [],
|
|
"stdout": "id\tnom\ttiming\tjoursAvant\theureEnvoi\tactif\n1\tJ-7\tpre_formation\t7\t09:00\t1\n2\tJ-15\tpre_formation\t15\t09:00\t1\n30001\tJ+2\tpost_formation\t2\t09:00\t1\n60001\tJ-3\tpre_formation\t3\t09:00\t1\n60002\tJ+30\tpost_formation\t30\t09:00\t1\n90001\tJ+10\tpost_formation\t10\t09:00\t1\n",
|
|
"stderr": "",
|
|
"execution_time_ms": 49
|
|
} |