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

Method TestJoinNilRightTable

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

Source from the content-addressed store, hash-verified

77}
78
79func (s *TableSuite) TestJoinNilRightTable(c *gc.C) {
80 join := InnerJoinOn(table1, nil, EqL(table2Col3, 123))
81
82 buf := &bytes.Buffer{}
83
84 err := join.SerializeSql("db", buf)
85 c.Assert(err, gc.NotNil)
86}
87
88func (s *TableSuite) TestJoinNilOnCondition(c *gc.C) {
89 join := InnerJoinOn(table1, table2, nil)

Callers

nothing calls this directly

Calls 3

InnerJoinOnFunction · 0.85
EqLFunction · 0.85
SerializeSqlMethod · 0.65

Tested by

no test coverage detected