Order by column simplified.

This commit is contained in:
sub0Zero 2019-03-15 21:55:43 +01:00 committed by zer0sub
parent ba3cd37734
commit 8049b2ec01
4 changed files with 167 additions and 75 deletions

View file

@ -97,12 +97,12 @@ func (t *Table) getColumn(name string) (NonAliasColumn, error) {
// Returns a pseudo column representation of the column name. Error checking
// is deferred to SerializeSql.
func (t *Table) C(name string) NonAliasColumn {
return &deferredLookupColumn{
table: t,
colName: name,
}
}
//func (t *Table) C(name string) NonAliasColumn {
// return &deferredLookupColumn{
// table: t,
// colName: name,
// }
//}
// Returns all columns for a table as a slice of projections
func (t *Table) Projections() []Projection {