# SqlStatementResult::getWarnings

(No version information available, might only be in Git)

SqlStatementResult::getWarnings — Get warnings from last operation

### 说明

public mysql_xdevapi\SqlStatementResult::getWarnings(): array

警告

本函数还未编写文档，仅有参数列表。

### 参数

此函数没有参数。

### 返回值

An array of Warning objects from the last operation. Each object defines an error 'message', error 'level', and error 'code'. An empty array is returned if no errors are present.

### 示例

示例 #1 mysql_xdevapi\SqlStatementResult::getWarnings() example

`<?php
/* ... */
?>`
`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open