You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: soql/parser/types/types.go
+25-15Lines changed: 25 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -90,7 +90,7 @@ type SoqlFieldInfo struct {
90
90
ColumnIdint`json:"columnId,omitempty"`// (internal use) for all; 1-based; If 0, it is not set.; Unique column Id across all main and sub queries
91
91
ColIndexint`json:"colIndex"`// Column index in the object
92
92
ViewIdint`json:"viewId,omitempty"`// TODO: (internal use) for SubQuery and Function; 1-based; If 0, it is not set.
93
-
Keystring`json:"-"`// (internal use) Base64-encoded, dot-delimited Name field value
93
+
Keystring`json:"key,omitempty"`// (internal use) Base64-encoded, dot-delimited Name field value
94
94
}
95
95
96
96
typesoqlFieldInfo_unmarshalstruct {
@@ -106,6 +106,7 @@ type soqlFieldInfo_unmarshal struct {
106
106
ColumnIdint`json:"columnId,omitempty"`
107
107
ColIndexint`json:"colIndex"`
108
108
ViewIdint`json:"viewId,omitempty"`
109
+
Keystring`json:"key,omitempty"`
109
110
}
110
111
111
112
typeSoqlListItemstruct {
@@ -133,9 +134,9 @@ type SoqlObjectInfo struct {
133
134
HasConditionsbool`json:"hasConditions,omitempty"`// Query has conditions originally. If false and this object is on the right side, prevent performing an inner join.
134
135
InnerJoinbool`json:"innerJoin,omitempty"`// When this object is on the left side, an inner join is performed.
PerObjectQuery*SoqlQuery`json:"-"`// A query that extracts only the filter and sort conditions and fields related to this object. A simple query, not including function calls, etc.
137
+
PerObjectQuery*SoqlQuery`json:"perObjectQuery"`// A query that extracts only the filter and sort conditions and fields related to this object. A simple query, not including function calls, etc.
137
138
ViewIdint`json:"viewId,omitempty"`// TODO: (internal use) for SubQuery and Function; 1-based; If 0, it is not set.
138
-
Keystring`json:"-"`// (internal use) Base64-encoded, dot-delimited Name field value
139
+
Keystring`json:"key,omitempty"`// (internal use) Base64-encoded, dot-delimited Name field value
139
140
}
140
141
141
142
typeSoqlConditionOpcodeint
@@ -240,19 +241,28 @@ type SoqlForClause struct {
240
241
UpdateViewstatbool`json:"updateViewstat,omitempty"`// for update viewstat (set with Update)
PostProcessWhere []SoqlCondition`json:"postProcessWhere,omitempty"`// Post-processing conditions (Conditions to apply after being filtered in the query for each object)
0 commit comments