InnerJoin selects records that have matching values in both tables. tables[0] is used as reference datatable.
(tables []*DataTable, on []JoinOn)
| 17 | // InnerJoin selects records that have matching values in both tables. |
| 18 | // tables[0] is used as reference datatable. |
| 19 | func InnerJoin(tables []*DataTable, on []JoinOn) (*DataTable, error) { |
| 20 | return newJoinImpl(innerJoin, tables, on).Compute() |
| 21 | } |
| 22 | |
| 23 | // LeftJoin returns all records from the left table (table1), and the matched records from the right table (table2). |
| 24 | // The result is NULL from the right side, if there is no match. |
nothing calls this directly
no test coverage detected