We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 722286e commit 44f6bd9Copy full SHA for 44f6bd9
content/docs/guides/table.md
@@ -96,6 +96,21 @@ movieStore
96
.execute();
97
```
98
99
+Update a record with multiple where clause amd selected columns
100
+
101
+```java
102
103
+// UPDATE movie
104
+// SET directed_by='Martyn Scorsese'
105
+// WHERE id=1 AND title='Fight Club'
106
+movieStore
107
+ .update()
108
+ .set(directedBy("Martyn Scorsese"))
109
+ .where(id().eq(1).and().title().eq("Fight Club"))
110
+ .execute();
111
+```
112
113
114
## Delete
115
116
Delete all the records in the table
0 commit comments