Skip to content

Commit caf827d

Browse files
committed
Resolve comments
1 parent 9bd9290 commit caf827d

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

documentation-website/Writerside/snippets/exposed-dsl/src/main/kotlin/org/example/examples/DeleteExamples.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ class DeleteExamples {
3131

3232
fun joinDelete() {
3333
/*
34-
MERGE INTO ACTORS USING STAR_WARS_FILMS_TABLE
35-
ON STAR_WARS_FILMS_TABLE.ID = ACTORS.SEQUEL_ID
36-
WHEN MATCHED AND ACTORS.SEQUEL_ID > 2
37-
THEN DELETE
34+
DELETE actors
35+
FROM star_wars_films_table INNER JOIN actors
36+
ON star_wars_films_table.id = actors.sequel_id
37+
WHERE actors.sequel_id > 2
3838
*/
3939

4040
StarWarsFilmsIntIdTable.insertIgnore {

documentation-website/Writerside/topics/DSL-CRUD-operations.topic

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,16 +64,16 @@
6464
src="exposed-dsl/src/main/kotlin/org/example/examples/CreateExamples.kt"
6565
include-lines="49-60"/>
6666
<p>
67-
If <code>insert</code> was used instead of <code>insertIgnore</code>, this would throw a constraint violation exception
68-
Instead, this new row is ignored and discarded.
67+
If <code>insert</code> was used instead of <code>insertIgnore</code>, this would throw a constraint
68+
violation exception. Instead, this new row is ignored and discarded.
6969
</p>
7070
</chapter>
7171

7272
<chapter id="insertIgnoreAndGetId">
7373
<title><code>insertIgnoreAndGetId</code></title>
7474
<tldr>
75-
<p>Supported on: MySQL, PostgreSQL, and SQLite</p>
76-
<p>Table types: <code>IntIdTable()</code> </p>
75+
<p>Supported on: MySQL, MariaDB, PostgreSQL, and SQLite</p>
76+
<p>Table types: <code>IdTable()</code> </p>
7777
</tldr>
7878
<p>
7979
<a href="https://jetbrains.github.io/Exposed/api/exposed-core/org.jetbrains.exposed.sql/insert-ignore-and-get-id.html">

documentation-website/Writerside/topics/DSL-Querying-data.topic

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,6 @@
316316
include-lines="4-6,9,18-39"/>
317317
<code-block lang="kotlin"
318318
src="exposed-dsl/src/main/kotlin/org/example/examples/CustomSelectExamples.kt"
319-
include-lines="56-58"/>
319+
include-lines="43-48,56-58"/>
320320
</chapter>
321321
</topic>

0 commit comments

Comments
 (0)