Skip to content

Simplifying Output Handling #15

@fasblom

Description

@fasblom

Currently, the node-red-contrib-neo4j-bolt module has three outputs:

  1. Single Record Output – When a query returns a single entry.
  2. Multiple Records Output – When a query returns multiple entries.
  3. Error Output – When an error occurs.

Would an alternative be to reducing this to two outputs:

  1. Unified Data Output – Always returns results as an array, even when a single record is found.
  2. Error Output – Captures and handles errors separately.

This change simplifies downstream processing, reduces flow complexity, and makes the module easier to use when handling dynamic query results.

What do you think @webmaxru ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions