bolty-0.1.0.2: Haskell driver for Neo4j (BOLT protocol 4.4-5.4)
Safe HaskellNone
LanguageGHC2021

Database.Bolty.Stats

Description

Query statistics (nodes created, relationships deleted, etc.).

Synopsis

Documentation

data QueryStats Source #

Typed query statistics from the PULL SUCCESS metadata. All integer fields default to 0 and booleans to False when absent.

Instances

Instances details
Show QueryStats Source # 
Instance details

Defined in Database.Bolty.Stats

Eq QueryStats Source # 
Instance details

Defined in Database.Bolty.Stats

parseStats :: Maybe Ps -> Maybe QueryStats Source #

Parse the raw stats field from PULL SUCCESS metadata. Returns Nothing if the field is absent (read-only queries). The server uses hyphenated keys (e.g. "nodes-created").