Updated on 2024-04-25 GMT+08:00

Database: OpenGaussDelete

This system keyword is used for deletion operations on OpenGauss database.

Parameter

Mandatory

Type

Description

Ip

Yes

String

Database IP address. For a cloud-based GaussDB instance, you need to bind an EIP to the instance and ensure that the security group policy of the instance port is enabled to allow access. For details, see Using gsql to Connect to an Instance from a Linux Server.

Port

Yes

Integer

Database port

DB Name

Yes

String

Database instance name

User Name

Yes

String

Username

Password

Yes

String

Password (The login password is personal information and must be defined as sensitive in the environment parameters.)

Sql

Yes

String

SQL statement, such as DELETE, which has no returns

OpenGaussDelete Response

Status: success

Parameter

Type

Description

affected_row_count

Integer

Number of rows affected by the SQL statement

OpenGaussDelete Response Example

{ 
 "affected_row_count": 1 
}

OpenGaussDelete Usage Example

Determine the number of affected rows.