通过drop mapping table语句删除表的映射关系。
说明 关于drop mapping table语句的更多信息,请参见删除映射关系。
前提条件
参数
参数 | 说明 |
---|---|
query | SQL语句,请根据所需功能进行设置。 |
示例
使用drop mapping table test_table
语句删除test_table表的映射关系。
func dropMappingTable(client *tablestore.TableStoreClient) {
// 创建SQL请求。
request := &tablestore.SQLQueryRequest{Query: "drop mapping table test_table"}
// 获取SQL的响应结果。
response, err := client.SQLQuery(request)
}