Skip to content

Commit c6bd97e

Browse files
committed
Clarify DatabaseInfo behavior with older and CE Neo4j versions
1 parent 137583e commit c6bd97e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

neo4j/resultsummary.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ type ResultSummary interface {
6161
// ResultConsumedAfter returns the time it took the server to consume the result.
6262
ResultConsumedAfter() time.Duration
6363
// Database returns information about the database where the result is obtained from
64+
// Returns nil for Neo4j versions prior to v4.
65+
// Returns the default "neo4j" database for Community Edition servers.
6466
Database() DatabaseInfo
6567
}
6668

0 commit comments

Comments
 (0)