Table interface cleanup.
This commit is contained in:
parent
5de001d7e0
commit
0643768673
4 changed files with 38 additions and 85 deletions
|
|
@ -15,7 +15,7 @@ type Column interface {
|
|||
DefaultAlias() Projection
|
||||
// Internal function for tracking tableName that a column belongs to
|
||||
// for the purpose of serialization
|
||||
setTableName(table string) error
|
||||
setTableName(table string)
|
||||
}
|
||||
|
||||
type NullableColumn bool
|
||||
|
|
@ -69,9 +69,8 @@ func (c *baseColumn) TableName() string {
|
|||
return c.tableName
|
||||
}
|
||||
|
||||
func (c *baseColumn) setTableName(table string) error {
|
||||
func (c *baseColumn) setTableName(table string) {
|
||||
c.tableName = table
|
||||
return nil
|
||||
}
|
||||
|
||||
func (c *baseColumn) DefaultAlias() Projection {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue