Documentation Index
Fetch the complete documentation index at: https://docs.risingwave.com/llms.txt
Use this file to discover all available pages before exploring further.
- Call FLUSH after
DELETEto persist the changes to storage. This ensures that the changes are committed and visible for subsequent reads. - If you only need the
DELETEto wait until it is included in a successful checkpoint, you can enableDML_WAIT_PERSISTENCE. This does not provide the same immediate read-after-write visibility asFLUSH.
Syntax
Parameters
| Parameter or clause | Description |
|---|---|
| table_name | The table where you want to remove records. |
| WHERE condition | Specify which rows you want to remove using an expression that returns a boolean value. Rows for which this expression returns true will be removed. If you omit the WHERE clause, all rows of records in the table will be deleted but the table structure will be kept. |
| RETURNING | Returns the values of any column based on each deleted row. |
Example
Thetaxi_trips table has three records: