Cleanup leftover.
This commit is contained in:
parent
0643768673
commit
08e4392278
2 changed files with 0 additions and 32 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue