Skip to content

Commit

Permalink
Clarify DatabaseInfo behavior with older and CE Neo4j versions
Browse files Browse the repository at this point in the history
  • Loading branch information
fbiville committed Jul 7, 2021
1 parent 137583e commit c6bd97e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions neo4j/resultsummary.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ type ResultSummary interface {
// ResultConsumedAfter returns the time it took the server to consume the result.
ResultConsumedAfter() time.Duration
// Database returns information about the database where the result is obtained from
// Returns nil for Neo4j versions prior to v4.
// Returns the default "neo4j" database for Community Edition servers.
Database() DatabaseInfo
}

Expand Down

0 comments on commit c6bd97e

Please sign in to comment.