#471 - Fix reference documentation.

Mention correct result type, fix callout numbering.
This commit is contained in:
Mark Paluch
2020-10-07 13:56:51 +02:00
parent 7c8eee689d
commit c5c6850cb5

View File

@@ -152,7 +152,7 @@ Mono<Void> 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<T>)`: Specifies the target table using a mapped object.
By default, it returns results as `T`.
By default, it returns results as `Map<String, Object>`.
* *into* `(String)`: Specifies the target table name.
By default, it returns results as `Map<String, Object>`.
* *using* `(T)`: Specifies the object to insert.