snapshot of https://github.com/sqlc-dev/sqlc.git (main, 2026-09-16; blobs > 131072B omitted)
Some checks failed
kotlin / test (push) Has been skipped
python / test (push) Has been skipped
typescript / test (push) Has been skipped
go / build darwin/amd64 (push) Has been cancelled
go / build linux/amd64 (push) Has been cancelled
go / build windows/amd64 (push) Has been cancelled
go / build darwin/arm64 (push) Has been cancelled
go / build linux/arm64 (push) Has been cancelled
go / build windows/arm64 (push) Has been cancelled
go / test (push) Has been cancelled
go / vuln_check (push) Has been cancelled
Some checks failed
kotlin / test (push) Has been skipped
python / test (push) Has been skipped
typescript / test (push) Has been skipped
go / build darwin/amd64 (push) Has been cancelled
go / build linux/amd64 (push) Has been cancelled
go / build windows/amd64 (push) Has been cancelled
go / build darwin/arm64 (push) Has been cancelled
go / build linux/arm64 (push) Has been cancelled
go / build windows/arm64 (push) Has been cancelled
go / test (push) Has been cancelled
go / vuln_check (push) Has been cancelled
This commit is contained in:
27
internal/sql/ast/sub_plan.go
Normal file
27
internal/sql/ast/sub_plan.go
Normal file
@@ -0,0 +1,27 @@
|
||||
package ast
|
||||
|
||||
type SubPlan struct {
|
||||
Tag NodeTag[SubPlan] `json:"tag"`
|
||||
|
||||
Xpr Node `json:"xpr,omitempty"`
|
||||
SubLinkType SubLinkType `json:"sub_link_type"`
|
||||
Testexpr Node `json:"testexpr,omitempty"`
|
||||
ParamIds *List `json:"param_ids,omitempty"`
|
||||
PlanId int `json:"plan_id"`
|
||||
PlanName *string `json:"plan_name,omitempty"`
|
||||
FirstColType Oid `json:"first_col_type"`
|
||||
FirstColTypmod int32 `json:"first_col_typmod"`
|
||||
FirstColCollation Oid `json:"first_col_collation"`
|
||||
UseHashTable bool `json:"use_hash_table"`
|
||||
UnknownEqFalse bool `json:"unknown_eq_false"`
|
||||
ParallelSafe bool `json:"parallel_safe"`
|
||||
SetParam *List `json:"set_param,omitempty"`
|
||||
ParParam *List `json:"par_param,omitempty"`
|
||||
Args *List `json:"args,omitempty"`
|
||||
StartupCost Cost `json:"startup_cost"`
|
||||
PerCallCost Cost `json:"per_call_cost"`
|
||||
}
|
||||
|
||||
func (n *SubPlan) Pos() int {
|
||||
return 0
|
||||
}
|
||||
Reference in New Issue
Block a user