File tree Expand file tree Collapse file tree 3 files changed +2
-16
lines changed
neo4j-driver-deno/lib/core Expand file tree Collapse file tree 3 files changed +2
-16
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ class ResultSummary<T extends NumberOrInteger = Integer> {
2929 query : { text : string , parameters : { [ key : string ] : any } }
3030 queryType : string
3131 counters : QueryStatistics
32- updateStatistics : QueryStatistics
3332 plan : Plan | false
3433 profile : ProfiledPlan | false
3534 notifications : Notification [ ]
@@ -74,12 +73,6 @@ class ResultSummary<T extends NumberOrInteger = Integer> {
7473 */
7574 this . counters = new QueryStatistics ( metadata . stats ?? { } )
7675 // for backwards compatibility, remove in future version
77- /**
78- * Use {@link ResultSummary.counters} instead.
79- * @type {QueryStatistics }
80- * @deprecated
81- */
82- this . updateStatistics = this . counters
8376
8477 /**
8578 * This describes how the database will execute the query.
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ streamResult.subscribe({
4747 const summary = streamResult . summarize ( )
4848 // Print number of nodes created
4949 console . log ( '' )
50- console . log ( summary . updateStatistics . nodesCreated ( ) )
50+ console . log ( summary . counters . nodesCreated ( ) )
5151 streamSession . close ( )
5252 } ,
5353 onError : function ( error ) {
@@ -68,7 +68,7 @@ promiseResult
6868 const summary = promiseResult . summarize ( )
6969 // Print number of nodes created
7070 console . log ( '' )
71- console . log ( summary . updateStatistics . nodesCreated ( ) )
71+ console . log ( summary . counters . nodesCreated ( ) )
7272 } )
7373 . catch ( function ( error ) {
7474 console . log ( error )
You can’t perform that action at this time.
0 commit comments