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

Method InnerJoin

join.go:13–15  ·  view source on GitHub ↗

InnerJoin selects records that have matching values in both tables. left datatable is used as reference datatable. <!> InnerJoin transforms an expr column to a raw column

(right *DataTable, on []JoinOn)

Source from the content-addressed store, hash-verified

11// left datatable is used as reference datatable.
12// <!> InnerJoin transforms an expr column to a raw column
13func (left *DataTable) InnerJoin(right *DataTable, on []JoinOn) (*DataTable, error) {
14 return newJoinImpl(innerJoin, []*DataTable{left, right}, on).Compute()
15}
16
17// InnerJoin selects records that have matching values in both tables.
18// tables[0] is used as reference datatable.

Callers 3

TestInnerJoinFunction · 0.80
TestJoinWithColumnNameFunction · 0.80

Calls 2

newJoinImplFunction · 0.85
ComputeMethod · 0.80

Tested by 3

TestInnerJoinFunction · 0.64
TestJoinWithColumnNameFunction · 0.64