Skip to main content
POST
/
v1
/
sql
/
check
{  "advices": [  {  "status": "STATUS_UNSPECIFIED",  "code": 123,  "title": "<string>",  "content": "<string>",  "startPosition": {  "line": 123,  "column": 123  },  "endPosition": {  "line": 123,  "column": 123  }  }  ],  "affectedRows": "<string>" }

Body

application/json
name
string
required

The database name to check against. Format: instances/{instance}/databases/{database}

statement
string
changeType
enum<string>
Available options:
CHANGE_TYPE_UNSPECIFIED,
DDL,
DDL_GHOST,
DML,
SQL_EDITOR

Response

OK

advices
object[]
affectedRows
string

The count of affected rows of the statement on the target database.