Home Reference Source
import {QueryStatistics} from 'neo4j-driver-core/lib/result-summary.js'
public class | source

QueryStatistics

Get statistical information for a Result.

Constructor Summary

Public Constructor
public

constructor(statistics: Object)

Structurize the statistics

Method Summary

Public Methods
public

Return true if the system database get updated, otherwise false

public

containsUpdates(): boolean

Did the database get updated?

public

systemUpdates(): number

public

Returns the query statistics updates in a dictionary.

Public Constructors

public constructor(statistics: Object) source

Structurize the statistics

Params:

NameTypeAttributeDescription
statistics Object

Result statistics

Public Methods

public containsSystemUpdates(): boolean source

Return true if the system database get updated, otherwise false

Return:

boolean

If the system database get updated or not.

public containsUpdates(): boolean source

Did the database get updated?

Return:

boolean

public systemUpdates(): number source

Return:

number

Number of system updates

public updates(): Stats source

Returns the query statistics updates in a dictionary.

Return:

Stats