From c5c6850cb52ede7d0ac0280c89e688d6fb468ece Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Wed, 7 Oct 2020 13:56:51 +0200 Subject: [PATCH] #471 - Fix reference documentation. Mention correct result type, fix callout numbering. --- src/main/asciidoc/reference/r2dbc-fluent.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/asciidoc/reference/r2dbc-fluent.adoc b/src/main/asciidoc/reference/r2dbc-fluent.adoc index b4b24c3..14905f8 100644 --- a/src/main/asciidoc/reference/r2dbc-fluent.adoc +++ b/src/main/asciidoc/reference/r2dbc-fluent.adoc @@ -152,7 +152,7 @@ Mono insert = databaseClient.insert() <1> Start an insert into the `person` table. <2> Provide a non-null value for `firstname`. <3> Set `lastname` to `null`. -<3> Use `then()` to insert an object without consuming further details. +<4> Use `then()` to insert an object without consuming further details. Modifying statements allow consumption of the number of affected rows or tabular results for consuming generated keys. ==== @@ -162,7 +162,7 @@ Modifying statements allow consumption of the number of affected rows or tabular The `insert()` entry point exposes the following additional methods to provide options for the operation: * *into* `(Class)`: Specifies the target table using a mapped object. -By default, it returns results as `T`. +By default, it returns results as `Map`. * *into* `(String)`: Specifies the target table name. By default, it returns results as `Map`. * *using* `(T)`: Specifies the object to insert.