@@ -325,74 +325,62 @@ def _get_value(prop, statistics):
325
325
def _get_stat (self , stat ):
326
326
return self .statistics [stat ] if stat in self .statistics else 0
327
327
328
- """Returns the number of labels added in the query"""
329
-
330
328
@property
331
329
def labels_added (self ):
330
+ """Returns the number of labels added in the query"""
332
331
return self ._get_stat (LABELS_ADDED )
333
332
334
- """Returns the number of labels removed in the query"""
335
-
336
333
@property
337
334
def labels_removed (self ):
335
+ """Returns the number of labels removed in the query"""
338
336
return self ._get_stat (LABELS_REMOVED )
339
337
340
- """Returns the number of nodes created in the query"""
341
-
342
338
@property
343
339
def nodes_created (self ):
340
+ """Returns the number of nodes created in the query"""
344
341
return self ._get_stat (NODES_CREATED )
345
342
346
- """Returns the number of nodes deleted in the query"""
347
-
348
343
@property
349
344
def nodes_deleted (self ):
345
+ """Returns the number of nodes deleted in the query"""
350
346
return self ._get_stat (NODES_DELETED )
351
347
352
- """Returns the number of properties set in the query"""
353
-
354
348
@property
355
349
def properties_set (self ):
350
+ """Returns the number of properties set in the query"""
356
351
return self ._get_stat (PROPERTIES_SET )
357
352
358
- """Returns the number of properties removed in the query"""
359
-
360
353
@property
361
354
def properties_removed (self ):
355
+ """Returns the number of properties removed in the query"""
362
356
return self ._get_stat (PROPERTIES_REMOVED )
363
357
364
- """Returns the number of relationships created in the query"""
365
-
366
358
@property
367
359
def relationships_created (self ):
360
+ """Returns the number of relationships created in the query"""
368
361
return self ._get_stat (RELATIONSHIPS_CREATED )
369
362
370
- """Returns the number of relationships deleted in the query"""
371
-
372
363
@property
373
364
def relationships_deleted (self ):
365
+ """Returns the number of relationships deleted in the query"""
374
366
return self ._get_stat (RELATIONSHIPS_DELETED )
375
367
376
- """Returns the number of indices created in the query"""
377
-
378
368
@property
379
369
def indices_created (self ):
370
+ """Returns the number of indices created in the query"""
380
371
return self ._get_stat (INDICES_CREATED )
381
372
382
- """Returns the number of indices deleted in the query"""
383
-
384
373
@property
385
374
def indices_deleted (self ):
375
+ """Returns the number of indices deleted in the query"""
386
376
return self ._get_stat (INDICES_DELETED )
387
377
388
- """Returns whether or not the query execution plan was cached"""
389
-
390
378
@property
391
379
def cached_execution (self ):
380
+ """Returns whether or not the query execution plan was cached"""
392
381
return self ._get_stat (CACHED_EXECUTION ) == 1
393
382
394
- """Returns the server execution time of the query"""
395
-
396
383
@property
397
384
def run_time_ms (self ):
385
+ """Returns the server execution time of the query"""
398
386
return self ._get_stat (INTERNAL_EXECUTION_TIME )
0 commit comments