Skip to content

Connector.prototype.isRelational returns a function #220

Open
@achrinza

Description

@achrinza

Steps to reproduce

Call new Connector(/*...*/).isRelational()

Offending line:

return this.isRelational ||
(this.getTypes().indexOf('rdbms') !== -1);

Current Behavior

It returns itself (a function), which then requires a 2nd call to get the expected boolean value.

Expected Behavior

Connector.prototype.isRelational should strictly return a boolean.

Link to reproduction sandbox

N/A

Additional information

Related Issues

See Reporting Issues for more tips on writing good issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Icebox

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions