radondb / radon

RadonDB is an open source, cloud-native MySQL database for building global, scalable cloud services

Home Page:https://radondb.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[feature] complete syntax on DELETE Statement

hustjieke opened this issue · comments

MySQL 8.0:
Single-table(radon fully compatible with MySQL):

DELETE [LOW_PRIORITY] [QUICK] [IGNORE] FROM tbl_name [[AS] tbl_alias]
    [PARTITION (partition_name [, partition_name] ...)]
    [WHERE where_condition]
    [ORDER BY ...]
    [LIMIT row_count]

Multi-table(radon now support at the grammatical level, specific functions are temporarily not supported):

DELETE [LOW_PRIORITY] [QUICK] [IGNORE]
    tbl_name[.*] [, tbl_name[.*]] ...
    FROM table_references
    [WHERE where_condition]

DELETE [LOW_PRIORITY] [QUICK] [IGNORE]
    FROM tbl_name[.*] [, tbl_name[.*]] ...
    USING table_references
    [WHERE where_condition]