Fix unit tests.

This commit is contained in:
zer0sub 2019-05-01 17:25:10 +02:00
parent 9b826fff6e
commit eccc17dc8a
10 changed files with 91 additions and 72 deletions

View file

@ -45,7 +45,7 @@ type WritableTable interface {
INSERT(columns ...Column) InsertStatement
UPDATE(columns ...Column) UpdateStatement
Delete() DeleteStatement
DELETE() DeleteStatement
}
// Defines a physical tableName in the database that is both readable and writable.
@ -220,7 +220,7 @@ func (t *Table) UPDATE(columns ...Column) UpdateStatement {
return newUpdateStatement(t, columns)
}
func (t *Table) Delete() DeleteStatement {
func (t *Table) DELETE() DeleteStatement {
return newDeleteStatement(t)
}