Documentation Home
X DevAPI User Guide for MySQL Shell in JavaScript Mode
Download this Manual
PDF (US Ltr) - 1.2Mb
PDF (A4) - 1.2Mb


11.6 Result Functions

Result

The syntax for this function shown in EBNF is:

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

Figure 11.19 Result

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

DocResult

The syntax for this function shown in EBNF is:

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

Figure 11.20 DocResult

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

RowResult

The syntax for this function shown in EBNF is:

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

Figure 11.21 RowResult

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

Column

The syntax for this function shown in EBNF is:

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

Figure 11.22 Column

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

SqlResult

The syntax for this function shown in EBNF is:

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

Figure 11.23 SqlResult

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