Atlantiraptor Docs

chain

Type: Plugin · Category: popular

Chain the output of several queries into the same table.

This plugin takes a number of queries and joins their output into the same table.

You can provide the async=TRUE parameter to run the queries in parallel. This is needed when queries are event queries that never terminate. You can use this property to collect the output from multiple event plugins into the same artifact output.

Example

The following returns the rows from the first query then the rows from the second query.

SELECT * FROM chain(
  a={ SELECT ...},
  b={ SELECT ...},
  async=TRUE)
Argument Type Description
async bool If specified we run all queries asynchronously and combine the output.

Platforms: macOS, Linux, Windows