Subquery represents a subquery.
| 1033 | |
| 1034 | // Subquery represents a subquery. |
| 1035 | type Subquery struct { |
| 1036 | Select SelectStatement |
| 1037 | Exists bool |
| 1038 | |
| 1039 | // Idx is a query-unique index for the subquery. |
| 1040 | // Subqueries are 1-indexed to ensure that the default |
| 1041 | // value 0 can be used to detect uninitialized subqueries. |
| 1042 | Idx int |
| 1043 | |
| 1044 | typeAnnotation |
| 1045 | } |
| 1046 | |
| 1047 | // SetType forces the type annotation on the Subquery node. |
| 1048 | func (node *Subquery) SetType(t *types.T) { |
nothing calls this directly
no outgoing calls
no test coverage detected