Subquery represents a subquery.
| 944 | |
| 945 | // Subquery represents a subquery. |
| 946 | type Subquery struct { |
| 947 | Select SelectStatement |
| 948 | Exists bool |
| 949 | |
| 950 | // Idx is a query-unique index for the subquery. |
| 951 | // Subqueries are 1-indexed to ensure that the default |
| 952 | // value 0 can be used to detect uninitialized subqueries. |
| 953 | Idx int |
| 954 | |
| 955 | typeAnnotation |
| 956 | } |
| 957 | |
| 958 | // SetType forces the type annotation on the Subquery node. |
| 959 | func (node *Subquery) SetType(t *types.T) { |
nothing calls this directly
no outgoing calls
no test coverage detected