UPDATE statement tests =====================================================
(c *gc.C)
| 388 | // |
| 389 | |
| 390 | func (s *StmtSuite) TestUpdateNilColumn(c *gc.C) { |
| 391 | stmt := table1.Update().Set(nil, Literal(1)) |
| 392 | _, err := stmt.String("db") |
| 393 | c.Assert(err, gc.NotNil) |
| 394 | } |
| 395 | |
| 396 | func (s *StmtSuite) TestUpdateNilExpr(c *gc.C) { |
| 397 | stmt := table1.Update().Set(table1Col1, nil) |