11.6 结果函数

结果

此函数的 EBNF 语法如下

Result
    ::= '.getAffectedItemsCount()'
        | '.getAutoIncrementValue()'
        | '.getGeneratedIds()'
        | '.getWarningsCount()'
        | '.getWarnings()'

图 11.19 结果

Image shows the syntax in EBNF form as described in the preceding text.

DocResult

此函数的 EBNF 语法如下

DocResult
    ::= '.getWarningsCount()'
        | '.getWarnings()'
        | '.fetchAll()'
        | '.fetchOne()'

图 11.20 DocResult

Image shows the syntax in EBNF form as described in the preceding text.

RowResult

此函数的 EBNF 语法如下

RowResult
    ::= '.getWarningsCount()'
        | '.getWarnings()'
        | '.fetchAll()'
        | '.fetchOne()'
        | '.getColumns()'

图 11.21 RowResult

Image shows the syntax in EBNF form as described in the preceding text.

此函数的 EBNF 语法如下

Column
    ::= '.getSchemaName()'
        | '.getTableName()'
        | '.getTableLabel()'
        | '.getColumnName()'
        | '.getColumnLabel()'
        | '.getType()'
        | '.getLength()'
        | '.getFractionalDigits()'
        | '.isNumberSigned()'
        | '.getCollationName()'
        | '.getCharacterSetName()'
        | '.isPadded()'

图 11.22 列

Image shows the syntax in EBNF form as described in the preceding text.

SqlResult

此函数的 EBNF 语法如下

SqlResult
    ::= '.getWarningsCount()'
        | '.getWarnings()'
        | '.fetchAll()'
        | '.fetchOne()'
        | '.getColumns()'
        | '.getAutoIncrementValue()'
        | '.hasData()'
        | '.nextResult()'

图 11.23 SqlResult

Image shows the syntax in EBNF form as described in the preceding text.