@@ -256,18 +256,20 @@ type SoqlQueryGraphLeaf struct {
256256}
257257
258258type SoqlQueryMeta struct {
259- Version string `json:"version,omitempty"` // format version
260- Date time.Time `json:"date,omitempty"` // compiled datetime
261- ElapsedTime time.Duration `json:"elapsedTime,omitempty"` // time taken to compile
262- Source string `json:"source,omitempty"` // source
263- MaxQueryDepth int `json:"maxQueryDepth,omitempty"` // max depth of query graph
264- MaxViewDepth int `json:"maxViewDepth,omitempty"` // max depth of object graph
265- NextQueryId int `json:"nextQueryId,omitempty"` // next query id (a number of queries)
266- NextViewId int `json:"nextViewId,omitempty"` // next view id (a number of views)
267- NextColumnId int `json:"nextColumnId,omitempty"` // next column id (a number of columns)
268- QueryGraph map [int ]SoqlQueryGraphLeaf `json:"queryGraph,omitempty"` // query graph (child -> parent)
269- ViewGraph map [int ]SoqlViewGraphLeaf `json:"viewGraph,omitempty"` // object graph (child -> parent)
270- // TODO: Parameters, DateTimeLiterals
259+ Version string `json:"version,omitempty"` // format version
260+ Date time.Time `json:"date,omitempty"` // compiled datetime
261+ ElapsedTime time.Duration `json:"elapsedTime,omitempty"` // time taken to compile
262+ Source string `json:"source,omitempty"` // source
263+ MaxQueryDepth int `json:"maxQueryDepth,omitempty"` // max depth of query graph
264+ MaxViewDepth int `json:"maxViewDepth,omitempty"` // max depth of object graph
265+ NextQueryId int `json:"nextQueryId,omitempty"` // next query id (a number of queries)
266+ NextViewId int `json:"nextViewId,omitempty"` // next view id (a number of views)
267+ NextColumnId int `json:"nextColumnId,omitempty"` // next column id (a number of columns)
268+ QueryGraph map [int ]SoqlQueryGraphLeaf `json:"queryGraph,omitempty"` // query graph (child -> parent)
269+ ViewGraph map [int ]SoqlViewGraphLeaf `json:"viewGraph,omitempty"` // object graph (child -> parent)
270+ Functions map [string ]struct {} `json:"functions,omitempty"` // functions
271+ Parameters map [string ]struct {} `json:"parameters,omitempty"` // parameters
272+ DateTimeLiterals map [string ]struct {} `json:"dateTimeLiterals,omitempty"` // datetime literals
271273}
272274
273275type SoqlQuery struct {
0 commit comments