Query a Neo4j database.

yaml
type: "io.kestra.plugin.neo4j.Query"
yaml
id: neo4j_query
namespace: company.team

tasks:
  - id: query
    type: io.kestra.plugin.neo4j.Query
    url: "{{ url }}"
    username: "{{ username }}"
    password: "{{ password }}"
    query: |
        MATCH (p:Person)
        RETURN p
    storeType: FETCH
Properties

Token base64 encoded token

Password to use in case of basic auth

If not specified, won't use basic auth

The Neo4J query to perform.

Default NONE
Possible Values
STOREFETCHFETCHONENONE

The way you want to store the data

FETCHONE output the first rowFETCH output all the rowSTORE store all row in a fileNONE do nothing

The URL to a Neo4j instance

The URL can either be in HTTP or Bolt format

Username to use in case of basic auth

If not specified, won't use basic

Map containing the first row of fetched data

Only populated if using FETCHONE.

SubType object

List containing the fetched data

Only populated if using FETCH.

The count of the rows fetch

Format uri

The uri of the stored result

Only populated if using STORE