Table interface cleanup.

This commit is contained in:
zer0sub 2019-06-05 17:15:20 +02:00
parent 8f51662fe5
commit 4d7fbf8f49
32 changed files with 543 additions and 794 deletions

View file

@ -27,12 +27,12 @@ type LockStatement interface {
}
type lockStatementImpl struct {
tables []tableInterface
tables []WritableTable
lockMode lockMode
nowait bool
}
func LOCK(tables ...tableInterface) LockStatement {
func LOCK(tables ...WritableTable) LockStatement {
return &lockStatementImpl{
tables: tables,
}