Skip to content

Commit

Permalink
docs: update column api
Browse files Browse the repository at this point in the history
Signed-off-by: Otavio Santana <otaviopolianasantana@gmail.com>
  • Loading branch information
otaviojava committed Apr 29, 2023
1 parent 123f172 commit 2c7566b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions spec/src/main/asciidoc/chapters/api/column.adoc
Expand Up @@ -71,13 +71,12 @@ List<Person> 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
----

0 comments on commit 2c7566b

Please sign in to comment.