Rename of types and errors.
This commit is contained in:
parent
18bbf1b5fb
commit
63f2d04651
30 changed files with 142 additions and 238 deletions
|
|
@ -155,7 +155,7 @@ func (s *selectStatementImpl) projections() []projection {
|
|||
|
||||
func (s *selectStatementImpl) serialize(statement statementType, out *sqlBuilder, options ...serializeOption) error {
|
||||
if s == nil {
|
||||
return errors.New("Select expression is nil. ")
|
||||
return errors.New("jet: Select expression is nil. ")
|
||||
}
|
||||
out.writeString("(")
|
||||
|
||||
|
|
@ -175,7 +175,7 @@ func (s *selectStatementImpl) serialize(statement statementType, out *sqlBuilder
|
|||
|
||||
func (s *selectStatementImpl) serializeImpl(out *sqlBuilder) error {
|
||||
if s == nil {
|
||||
return errors.New("Select expression is nil. ")
|
||||
return errors.New("jet: Select expression is nil. ")
|
||||
}
|
||||
|
||||
out.newLine()
|
||||
|
|
@ -186,7 +186,7 @@ func (s *selectStatementImpl) serializeImpl(out *sqlBuilder) error {
|
|||
}
|
||||
|
||||
if len(s.projectionList) == 0 {
|
||||
return errors.New("no column selected for projection")
|
||||
return errors.New("jet: no column selected for projection")
|
||||
}
|
||||
|
||||
err := out.writeProjections(select_statement, s.projectionList)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue