@@ -267,9 +267,9 @@ func (ds *DeleteStatement) String() string {
267267type MergeStatement struct {
268268 BaseNode
269269 TargetTable TableReference
270- SourceTable interface {} // Can be TableReference or SelectStatement
271- SourceAlias string // Alias for source
272- OnCondition Expression // MERGE condition
270+ SourceTable interface {} // Can be TableReference or SelectStatement
271+ SourceAlias string // Alias for source
272+ OnCondition Expression // MERGE condition
273273 WhenMatched []* MergeWhenClause // WHEN MATCHED clauses (can have multiple)
274274 WhenNotMatched []* MergeWhenClause // WHEN NOT MATCHED clauses
275275 WhenNotMatchedBy []* MergeWhenClause // WHEN NOT MATCHED BY SOURCE (SQL Server)
@@ -284,13 +284,13 @@ func (ms *MergeStatement) String() string {
284284// MergeWhenClause represents a WHEN clause in MERGE
285285type MergeWhenClause struct {
286286 BaseNode
287- Matched bool // true for WHEN MATCHED, false for WHEN NOT MATCHED
288- BySource bool // true for WHEN NOT MATCHED BY SOURCE (SQL Server)
289- Condition Expression // Optional AND condition
290- Action * MergeAction // The action to perform
287+ Matched bool // true for WHEN MATCHED, false for WHEN NOT MATCHED
288+ BySource bool // true for WHEN NOT MATCHED BY SOURCE (SQL Server)
289+ Condition Expression // Optional AND condition
290+ Action * MergeAction // The action to perform
291291}
292292
293- func (mwc * MergeWhenClause ) Type () string { return "MergeWhenClause" }
293+ func (mwc * MergeWhenClause ) Type () string { return "MergeWhenClause" }
294294func (mwc * MergeWhenClause ) String () string {
295295 if mwc .Matched {
296296 return "WHEN MATCHED"
@@ -1042,8 +1042,8 @@ func (ocs *OpenCursorStatement) String() string { return fmt.Sprintf("OPEN %s",
10421042// FetchStatement represents FETCH cursor
10431043type FetchStatement struct {
10441044 BaseNode
1045- Direction string // NEXT, PRIOR, FIRST, LAST, ABSOLUTE, RELATIVE (empty for simple FETCH)
1046- Count int // For ABSOLUTE/RELATIVE n (0 means not specified)
1045+ Direction string // NEXT, PRIOR, FIRST, LAST, ABSOLUTE, RELATIVE (empty for simple FETCH)
1046+ Count int // For ABSOLUTE/RELATIVE n (0 means not specified)
10471047 CursorName string
10481048 Variables []string // INTO variables
10491049}
0 commit comments