Query Query

yaml
type: "io.kestra.plugin.neo4j.Query"

Execute a query to a neo4j database.

Examples

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

Properties

bearerToken

  • Type: string
  • Dynamic: ✔️
  • Required:

Token base64 encoded token

password

  • Type: string
  • Dynamic: ✔️
  • Required:

Password to use in case of basic auth

If not specified, won't use basic auth

query

  • Type: string
  • Dynamic: ✔️
  • Required:

The Neo4J query to perform

storeType

  • Type: string
  • Dynamic:
  • Required:
  • Default: NONE
  • Possible Values:
    • STORE
    • FETCH
    • FETCHONE
    • NONE

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

url

  • Type: string
  • Dynamic:
  • Required:

The URL to a Neo4j instance

The URL can either be in HTTP or Bolt format

username

  • Type: string
  • Dynamic: ✔️
  • Required:

Username to use in case of basic auth

If not specified, won't use basic

Outputs

row

  • Type: object
  • Dynamic:
  • Required:

Map containing the first row of fetched data

Only populated if using FETCHONE.

rows

  • Type: array
  • SubType: object
  • Dynamic:
  • Required:

List containing the fetched data

Only populated if using FETCH.

size

  • Type: integer
  • Dynamic:
  • Required:

The count of the rows fetch

uri

  • Type: string
  • Dynamic:
  • Required:
  • Format: uri

The uri of the stored result

Only populated if using STORE