splat-transform API Reference - v1.10.2
    Preparing search index...

    Function combine

    • Combines multiple DataTables into a single DataTable.

      Merges rows from all input tables. Columns are matched by name and type; columns that don't exist in all tables will have undefined values for rows from tables lacking that column.

      If tables have differing source transforms, all data is first converted to engine coordinate space (identity transform) before combining.

      Parameters

      • dataTables: DataTable[]

        Array of DataTables to combine.

      Returns DataTable

      A new DataTable containing all rows from all input tables.

      const combined = combine([tableA, tableB, tableC]);
      console.log(combined.numRows); // tableA.numRows + tableB.numRows + tableC.numRows