Mapper result throws when inspected and result is not ROWS

Description

1 2 3 4 5 6 7 8 9 10 11 TypeError: Cannot read property 'map' of undefined at Result.toArray (/usr/src/app/node_modules/cassandra-driver/lib/mapping/result.js:115:26) at Result.[nodejs.util.inspect.custom] (/usr/src/app/node_modules/cassandra-driver/lib/mapping/result.js:132:17) at formatValue (internal/util/inspect.js:550:31) at formatProperty (internal/util/inspect.js:1366:11) at formatRaw (internal/util/inspect.js:761:9) at formatValue (internal/util/inspect.js:567:10) at inspect (internal/util/inspect.js:221:10) at formatWithOptions (internal/util/inspect.js:1651:40) at Object.Console.<computed> (internal/console/constructor.js:272:10) at Object.log (internal/console/constructor.js:282:61)

Environment

None

Pull Requests

None

Status

Assignee

Jorge Bay Gondra

Reporter

Jorge Bay Gondra

Reviewer

None

Fix versions

Labels

None

Components

None

PM Priority

None

Reproduced in

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

Doc Impact

None

Size

None

Priority

Major