Skip to content

Commit cab7b0f

Browse files
early discovery of OM
1 parent b560c96 commit cab7b0f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

java-manual/modules/ROOT/pages/query-simple.adoc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,12 @@ System.out.printf("The query %s returned %d records in %d ms.%n",
7373
<1> `records` contains the result as a list of link:https://neo4j.com/docs/api/java-driver/{java-driver-version}/org.neo4j.driver/org/neo4j/driver/Record.html[`Record`] objects
7474
<2> `summary` contains the xref:result-summary.adoc[summary of execution] returned by the server
7575

76-
[TIP]
77-
====
7876
Properties inside a link:https://neo4j.com/docs/api/java-driver/{java-driver-version}/org.neo4j.driver/org/neo4j/driver/Record.html[`Record`] object are embedded within link:https://neo4j.com/docs/api/java-driver/{java-driver-version}/org.neo4j.driver/org/neo4j/driver/Value.html[`Value`] objects.
7977
To extract and cast them to the corresponding Java types, use `.as<type>()` (eg. `.asString()`, `asInt()`, etc).
8078
For example, if the `name` property coming from the database is a string, `record.get("name").asString()` will yield the property value as a `String` object.
81-
8279
For more information, see xref:data-types.adoc[].
83-
====
80+
81+
Another way of extracting values from returned records is by xref:value-mapping.adoc[mapping them objects].
8482

8583

8684
[#update]

0 commit comments

Comments
 (0)