MCPcopy Create free account
hub / github.com/datasweet/datatable / LeftJoin

Function LeftJoin

join.go:32–34  ·  view source on GitHub ↗

LeftJoin the tables. tables[0] is used as reference datatable.

(tables []*DataTable, on []JoinOn)

Source from the content-addressed store, hash-verified

30// LeftJoin the tables.
31// tables[0] is used as reference datatable.
32func LeftJoin(tables []*DataTable, on []JoinOn) (*DataTable, error) {
33 return newJoinImpl(leftJoin, tables, on).Compute()
34}
35
36// RightJoin returns all records from the right table (table2), and the matched records from the left table (table1).
37// The result is NULL from the left side, when there is no match.

Callers

nothing calls this directly

Calls 2

newJoinImplFunction · 0.85
ComputeMethod · 0.80

Tested by

no test coverage detected