MCPcopy
hub / github.com/dropbox/godropbox / TestJoinNilLeftTable

Method TestJoinNilLeftTable

database/sqlbuilder/table_test.go:70–77  ·  view source on GitHub ↗
(c *gc.C)

Source from the content-addressed store, hash-verified

68}
69
70func (s *TableSuite) TestJoinNilLeftTable(c *gc.C) {
71 join := InnerJoinOn(nil, table2, EqL(table2Col3, 123))
72
73 buf := &bytes.Buffer{}
74
75 err := join.SerializeSql("db", buf)
76 c.Assert(err, gc.NotNil)
77}
78
79func (s *TableSuite) TestJoinNilRightTable(c *gc.C) {
80 join := InnerJoinOn(table1, nil, EqL(table2Col3, 123))

Callers

nothing calls this directly

Calls 3

InnerJoinOnFunction · 0.85
EqLFunction · 0.85
SerializeSqlMethod · 0.65

Tested by

no test coverage detected