Postgres linter errors.
This commit is contained in:
parent
46a3dc7dfb
commit
ab6d85f886
20 changed files with 310 additions and 29 deletions
|
|
@ -19,9 +19,9 @@ type updateStatementImpl struct {
|
|||
jet.StatementImpl
|
||||
|
||||
Update jet.ClauseUpdate
|
||||
Set ClauseSet
|
||||
Set clauseSet
|
||||
Where jet.ClauseWhere
|
||||
Returning ClauseReturning
|
||||
Returning clauseReturning
|
||||
}
|
||||
|
||||
func newUpdateStatement(table WritableTable, columns []jet.Column) UpdateStatement {
|
||||
|
|
@ -56,12 +56,12 @@ func (u *updateStatementImpl) RETURNING(projections ...jet.Projection) UpdateSta
|
|||
return u
|
||||
}
|
||||
|
||||
type ClauseSet struct {
|
||||
type clauseSet struct {
|
||||
Columns []jet.Column
|
||||
Values []jet.Serializer
|
||||
}
|
||||
|
||||
func (s *ClauseSet) Serialize(statementType jet.StatementType, out *jet.SqlBuilder) {
|
||||
func (s *clauseSet) Serialize(statementType jet.StatementType, out *jet.SqlBuilder) {
|
||||
out.NewLine()
|
||||
out.WriteString("SET")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue