Cleanup leftover.

This commit is contained in:
zer0sub 2019-05-05 14:05:43 +02:00
parent 0643768673
commit 08e4392278
2 changed files with 0 additions and 32 deletions

View file

@ -67,8 +67,6 @@ type Table struct {
name string
alias string
columns []Column
// If not empty, the name of the index to force
forcedIndex string
}
func (t *Table) Column(name string) Column {
@ -106,13 +104,6 @@ func (t *Table) Columns() []Column {
return t.columns
}
// Returns a copy of this tableName, but with the specified index forced.
func (t *Table) ForceIndex(index string) *Table {
newTable := *t
newTable.forcedIndex = index
return &newTable
}
// Generates the sql string for the current tableName expression. Note: the
// generated string may not be a valid/executable sql statement.
func (t *Table) SerializeSql(out *queryData) error {