From b388f107b72931eff4378d5c75ab02351be50220 Mon Sep 17 00:00:00 2001 From: Jens Klingsporn Date: Mon, 2 Mar 2020 14:52:51 +0100 Subject: [PATCH] fix README.md --- vertx-jooq-classic-async/README.md | 2 +- vertx-jooq-classic-reactive/README.md | 2 +- vertx-jooq-completablefuture-async/README.md | 2 +- vertx-jooq-completablefuture-reactive/README.md | 2 +- vertx-jooq-rx-async/README.md | 2 +- vertx-jooq-rx-reactive/README.md | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/vertx-jooq-classic-async/README.md b/vertx-jooq-classic-async/README.md index 20e9b4e1..5e6b2ede 100644 --- a/vertx-jooq-classic-async/README.md +++ b/vertx-jooq-classic-async/README.md @@ -258,7 +258,7 @@ vertx.eventBus().consumer("sendSomething", jsonEvent->{ //or do you prefer writing your own type-safe SQL? AsyncClassicGenericQueryExecutor queryExecutor = new AsyncClassicGenericQueryExecutor(client); -Future updatedCustom = queryExecutor.execute(DSL.using(configuration) +Future updatedCustom = queryExecutor.execute(dslContext -> dslContext .update(Tables.SOMETHING) .set(Tables.SOMETHING.SOMEREGULARNUMBER,456) .where(Tables.SOMETHING.SOMEID.eq(something.getSomeid()))); diff --git a/vertx-jooq-classic-reactive/README.md b/vertx-jooq-classic-reactive/README.md index 99870882..329300a9 100644 --- a/vertx-jooq-classic-reactive/README.md +++ b/vertx-jooq-classic-reactive/README.md @@ -258,7 +258,7 @@ vertx.eventBus().consumer("sendSomething", jsonEvent->{ //or do you prefer writing your own type-safe SQL? ReactiveClassicGenericQueryExecutor queryExecutor = new ReactiveClassicGenericQueryExecutor(client); -Future updatedCustom = queryExecutor.execute(DSL.using(configuration) +Future updatedCustom = queryExecutor.execute(dslContext -> dslContext .update(Tables.SOMETHING) .set(Tables.SOMETHING.SOMEREGULARNUMBER,456) .where(Tables.SOMETHING.SOMEID.eq(something.getSomeid()))); diff --git a/vertx-jooq-completablefuture-async/README.md b/vertx-jooq-completablefuture-async/README.md index 0c29303c..bc3d53f2 100644 --- a/vertx-jooq-completablefuture-async/README.md +++ b/vertx-jooq-completablefuture-async/README.md @@ -258,7 +258,7 @@ vertx.eventBus().consumer("sendSomething", jsonEvent->{ //or do you prefer writing your own type-safe SQL? AsyncCompletableFutureGenericQueryExecutor queryExecutor = new AsyncCompletableFutureGenericQueryExecutor(vertx, client); -CompletableFuture updatedCustomFuture = queryExecutor.execute(DSL.using(configuration) +CompletableFuture updatedCustomFuture = queryExecutor.execute(dslContext -> dslContext .update(Tables.SOMETHING) .set(Tables.SOMETHING.SOMEREGULARNUMBER,456) .where(Tables.SOMETHING.SOMEID.eq(something.getSomeid()))); diff --git a/vertx-jooq-completablefuture-reactive/README.md b/vertx-jooq-completablefuture-reactive/README.md index f28fbeb0..e55bca76 100644 --- a/vertx-jooq-completablefuture-reactive/README.md +++ b/vertx-jooq-completablefuture-reactive/README.md @@ -258,7 +258,7 @@ vertx.eventBus().consumer("sendSomething", jsonEvent->{ //or do you prefer writing your own type-safe SQL? ReactiveCompletableFutureGenericQueryExecutor queryExecutor = new ReactiveCompletableFutureGenericQueryExecutor(vertx, client); -CompletableFuture updatedCustomFuture = queryExecutor.execute(DSL.using(configuration) +CompletableFuture updatedCustomFuture = queryExecutor.execute(dslContext -> dslContext .update(Tables.SOMETHING) .set(Tables.SOMETHING.SOMEREGULARNUMBER,456) .where(Tables.SOMETHING.SOMEID.eq(something.getSomeid()))); diff --git a/vertx-jooq-rx-async/README.md b/vertx-jooq-rx-async/README.md index cec510f9..f9be7965 100644 --- a/vertx-jooq-rx-async/README.md +++ b/vertx-jooq-rx-async/README.md @@ -258,7 +258,7 @@ vertx.eventBus().consumer("sendSomething", jsonEvent->{ //or do you prefer writing your own type-safe SQL? AsyncRXGenericQueryExecutor queryExecutor = new AsyncRXGenericQueryExecutor(client); -Single updatedCustomFuture = queryExecutor.execute(DSL.using(configuration) +Single updatedCustomFuture = queryExecutor.execute(dslContext -> dslContext .update(Tables.SOMETHING) .set(Tables.SOMETHING.SOMEREGULARNUMBER,456) .where(Tables.SOMETHING.SOMEID.eq(something.getSomeid()))); diff --git a/vertx-jooq-rx-reactive/README.md b/vertx-jooq-rx-reactive/README.md index 6f073266..f8ec97e3 100644 --- a/vertx-jooq-rx-reactive/README.md +++ b/vertx-jooq-rx-reactive/README.md @@ -258,7 +258,7 @@ vertx.eventBus().consumer("sendSomething", jsonEvent->{ //or do you prefer writing your own type-safe SQL? ReactiveRXGenericQueryExecutor queryExecutor = new ReactiveRXGenericQueryExecutor(client); -Single updatedCustomFuture = queryExecutor.execute(DSL.using(configuration) +Single updatedCustomFuture = queryExecutor.execute(dslContext -> dslContext .update(Tables.SOMETHING) .set(Tables.SOMETHING.SOMEREGULARNUMBER,456) .where(Tables.SOMETHING.SOMEID.eq(something.getSomeid())));