(c *gc.C)
| 394 | } |
| 395 | |
| 396 | func (s *StmtSuite) TestUpdateNilExpr(c *gc.C) { |
| 397 | stmt := table1.Update().Set(table1Col1, nil) |
| 398 | _, err := stmt.String("db") |
| 399 | c.Assert(err, gc.NotNil) |
| 400 | } |
| 401 | |
| 402 | func (s *StmtSuite) TestUpdateUnconditionally(c *gc.C) { |
| 403 | stmt := table1.Update().Set(table1Col1, Literal(1)) |