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

Method OuterJoin

join.go:51–53  ·  view source on GitHub ↗

OuterJoin returns all records when there is a match in either left or right table <!> OuterJoin transforms an expr column to a raw column

(right *DataTable, on []JoinOn)

Source from the content-addressed store, hash-verified

49// OuterJoin returns all records when there is a match in either left or right table
50// <!> OuterJoin transforms an expr column to a raw column
51func (left *DataTable) OuterJoin(right *DataTable, on []JoinOn) (*DataTable, error) {
52 return newJoinImpl(outerJoin, []*DataTable{left, right}, on).Compute()
53}
54
55// OuterJoin the tables.
56// tables[0] is used as reference datatable.

Callers 1

TestOuterJoinFunction · 0.80

Calls 2

newJoinImplFunction · 0.85
ComputeMethod · 0.80

Tested by 1

TestOuterJoinFunction · 0.64