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.

Column

此函式在 EBNF 中顯示的語法為

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

圖 11.22 Column

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.