Subquery represents a subquery.
| 952 | |
| 953 | // Subquery represents a subquery. |
| 954 | type Subquery struct { |
| 955 | Select SelectStatement |
| 956 | Exists bool |
| 957 | |
| 958 | // Idx is a query-unique index for the subquery. |
| 959 | // Subqueries are 1-indexed to ensure that the default |
| 960 | // value 0 can be used to detect uninitialized subqueries. |
| 961 | Idx int |
| 962 | |
| 963 | typeAnnotation |
| 964 | } |
| 965 | |
| 966 | // ResolvedType implements the TypedExpr interface. |
| 967 | func (node *Subquery) ResolvedType() *types.T { |
nothing calls this directly
no outgoing calls
no test coverage detected