You can execute the drop mapping table statement to delete mapping tables.

Note For more information about the drop mapping table statement, see Delete mapping tables.

Prerequisites

Parameters

Parameter Description
query The SQL statement. Configure the parameter based on the required feature.

Examples

Execute the drop mapping table test_table statement to delete the mapping table of the table named test_table.

const params = {
  query: "drop mapping table test_table",
}

client.sqlQuery(params, function (err, data) {
  if (err) {
    console.log('sqlQuery error:', err.toString());
  } else {
    console.log('sqlQuery success:', data);
  }
});