File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ class ResultSummary {
127
127
this . statementType = statementType ;
128
128
this . statistics = new StatementStatistics ( statistics || { } ) ;
129
129
this . plan = plan || profile ? new Plan ( plan || profile ) : false ;
130
- this . profile = profile ? new ProfilePlan ( profile ) : false ;
130
+ this . profile = profile ? new ProfiledPlan ( profile ) : false ;
131
131
}
132
132
133
133
/**
@@ -143,7 +143,7 @@ class ResultSummary {
143
143
* @return {boolean }
144
144
*/
145
145
hasProfile ( ) {
146
- return this . profile instanceof ProfilePlan
146
+ return this . profile instanceof ProfiledPlan
147
147
}
148
148
}
149
149
@@ -169,9 +169,9 @@ class Plan {
169
169
* Class for execution plan received by prepending Cypher with PROFILE.
170
170
* @access public
171
171
*/
172
- class ProfilePlan {
172
+ class ProfiledPlan {
173
173
/**
174
- * Create a ProfilePlan instance
174
+ * Create a ProfiledPlan instance
175
175
* @constructor
176
176
* @param {Object } plan - Object with plan data
177
177
*/
@@ -181,7 +181,7 @@ class ProfilePlan {
181
181
this . arguments = profile . args ;
182
182
this . dbHits = profile . args . DbHits . toInt ( ) ;
183
183
this . rows = profile . args . Rows . toInt ( ) ;
184
- this . children = profile . children ? profile . children . map ( ( child ) => new ProfilePlan ( child ) ) : [ ] ;
184
+ this . children = profile . children ? profile . children . map ( ( child ) => new ProfiledPlan ( child ) ) : [ ] ;
185
185
}
186
186
}
187
187
You can’t perform that action at this time.
0 commit comments