From 2c7566b254216d5d9c02dde2b1c34c4ae70c9814 Mon Sep 17 00:00:00 2001 From: Otavio Santana Date: Sat, 29 Apr 2023 17:16:45 +0100 Subject: [PATCH] docs: update column api Signed-off-by: Otavio Santana --- spec/src/main/asciidoc/chapters/api/column.adoc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/spec/src/main/asciidoc/chapters/api/column.adoc b/spec/src/main/asciidoc/chapters/api/column.adoc index cf1238583..4e6c428e5 100644 --- a/spec/src/main/asciidoc/chapters/api/column.adoc +++ b/spec/src/main/asciidoc/chapters/api/column.adoc @@ -71,13 +71,12 @@ List people = template.select(Person.class) .gte(10) .result(); -// translating: select().from("Person").where("native_id").gte(10L).build(); +// returning from Person entity where the ID is greater than ten as List template.delete(Person.class) .where("id") .eq("20") .execute(); -// translating: delete().from("Person").where("native_id").gte(10L).build(); - +//deleting from Person entity where the ID is equals to twenty ---- \ No newline at end of file