Skip to content

Commit

Permalink
fix README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jklingsporn committed Mar 2, 2020
1 parent eec21c0 commit b388f10
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion vertx-jooq-classic-async/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ vertx.eventBus().<JsonObject>consumer("sendSomething", jsonEvent->{
//or do you prefer writing your own type-safe SQL?
AsyncClassicGenericQueryExecutor queryExecutor = new AsyncClassicGenericQueryExecutor(client);
Future<Integer> updatedCustom = queryExecutor.execute(DSL.using(configuration)
Future<Integer> updatedCustom = queryExecutor.execute(dslContext -> dslContext
.update(Tables.SOMETHING)
.set(Tables.SOMETHING.SOMEREGULARNUMBER,456)
.where(Tables.SOMETHING.SOMEID.eq(something.getSomeid())));
Expand Down
2 changes: 1 addition & 1 deletion vertx-jooq-classic-reactive/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ vertx.eventBus().<JsonObject>consumer("sendSomething", jsonEvent->{
//or do you prefer writing your own type-safe SQL?
ReactiveClassicGenericQueryExecutor queryExecutor = new ReactiveClassicGenericQueryExecutor(client);
Future<Integer> updatedCustom = queryExecutor.execute(DSL.using(configuration)
Future<Integer> updatedCustom = queryExecutor.execute(dslContext -> dslContext
.update(Tables.SOMETHING)
.set(Tables.SOMETHING.SOMEREGULARNUMBER,456)
.where(Tables.SOMETHING.SOMEID.eq(something.getSomeid())));
Expand Down
2 changes: 1 addition & 1 deletion vertx-jooq-completablefuture-async/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ vertx.eventBus().<JsonObject>consumer("sendSomething", jsonEvent->{
//or do you prefer writing your own type-safe SQL?
AsyncCompletableFutureGenericQueryExecutor queryExecutor = new AsyncCompletableFutureGenericQueryExecutor(vertx, client);
CompletableFuture<Integer> updatedCustomFuture = queryExecutor.execute(DSL.using(configuration)
CompletableFuture<Integer> updatedCustomFuture = queryExecutor.execute(dslContext -> dslContext
.update(Tables.SOMETHING)
.set(Tables.SOMETHING.SOMEREGULARNUMBER,456)
.where(Tables.SOMETHING.SOMEID.eq(something.getSomeid())));
Expand Down
2 changes: 1 addition & 1 deletion vertx-jooq-completablefuture-reactive/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ vertx.eventBus().<JsonObject>consumer("sendSomething", jsonEvent->{
//or do you prefer writing your own type-safe SQL?
ReactiveCompletableFutureGenericQueryExecutor queryExecutor = new ReactiveCompletableFutureGenericQueryExecutor(vertx, client);
CompletableFuture<Integer> updatedCustomFuture = queryExecutor.execute(DSL.using(configuration)
CompletableFuture<Integer> updatedCustomFuture = queryExecutor.execute(dslContext -> dslContext
.update(Tables.SOMETHING)
.set(Tables.SOMETHING.SOMEREGULARNUMBER,456)
.where(Tables.SOMETHING.SOMEID.eq(something.getSomeid())));
Expand Down
2 changes: 1 addition & 1 deletion vertx-jooq-rx-async/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ vertx.eventBus().<JsonObject>consumer("sendSomething", jsonEvent->{
//or do you prefer writing your own type-safe SQL?
AsyncRXGenericQueryExecutor queryExecutor = new AsyncRXGenericQueryExecutor(client);
Single<Integer> updatedCustomFuture = queryExecutor.execute(DSL.using(configuration)
Single<Integer> updatedCustomFuture = queryExecutor.execute(dslContext -> dslContext
.update(Tables.SOMETHING)
.set(Tables.SOMETHING.SOMEREGULARNUMBER,456)
.where(Tables.SOMETHING.SOMEID.eq(something.getSomeid())));
Expand Down
2 changes: 1 addition & 1 deletion vertx-jooq-rx-reactive/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ vertx.eventBus().<JsonObject>consumer("sendSomething", jsonEvent->{
//or do you prefer writing your own type-safe SQL?
ReactiveRXGenericQueryExecutor queryExecutor = new ReactiveRXGenericQueryExecutor(client);
Single<Integer> updatedCustomFuture = queryExecutor.execute(DSL.using(configuration)
Single<Integer> updatedCustomFuture = queryExecutor.execute(dslContext -> dslContext
.update(Tables.SOMETHING)
.set(Tables.SOMETHING.SOMEREGULARNUMBER,456)
.where(Tables.SOMETHING.SOMEID.eq(something.getSomeid())));
Expand Down

0 comments on commit b388f10

Please sign in to comment.