From b92037a66a713e79b555f47253c29659fa36d9bc Mon Sep 17 00:00:00 2001 From: Viktoriya Nikolova Date: Wed, 28 Aug 2024 15:17:13 +0200 Subject: [PATCH] fix links and code indentation issues --- .../Writerside/topics/DSL-CRUD-operations.topic | 2 +- .../Writerside/topics/Deep-Dive-into-DAO.md | 5 ++++- documentation-website/Writerside/topics/SQL-Functions.md | 2 +- .../Writerside/topics/Table-Definition.topic | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/documentation-website/Writerside/topics/DSL-CRUD-operations.topic b/documentation-website/Writerside/topics/DSL-CRUD-operations.topic index ff7172584d..5eb66b7416 100644 --- a/documentation-website/Writerside/topics/DSL-CRUD-operations.topic +++ b/documentation-website/Writerside/topics/DSL-CRUD-operations.topic @@ -302,7 +302,7 @@ it[director] = "JJ Abrams" } -// on conflict, ONLY column [director] is updated with value from the lambda block + // on conflict, ONLY column [director] is updated with value from the lambda block StarWarsFilms.upsert( onUpdateExclude = StarWarsFilms.columns - setOf(StarWarsFilms.director) ) { diff --git a/documentation-website/Writerside/topics/Deep-Dive-into-DAO.md b/documentation-website/Writerside/topics/Deep-Dive-into-DAO.md index cef76929b3..688e89c038 100644 --- a/documentation-website/Writerside/topics/Deep-Dive-into-DAO.md +++ b/documentation-website/Writerside/topics/Deep-Dive-into-DAO.md @@ -118,7 +118,10 @@ val movies = StarWarsFilm.all() val movies = StarWarsFilm.find { StarWarsFilms.sequelId eq 8 } val movie = StarWarsFilm.findById(5) ``` -For a list of available predicates, see DSL Where expression. + +For a list of available predicates, see +DSL Where expression. + Read a value from a property similar to any property in a Kotlin class: ```kotlin diff --git a/documentation-website/Writerside/topics/SQL-Functions.md b/documentation-website/Writerside/topics/SQL-Functions.md index 6a375c6282..e8ff51c155 100644 --- a/documentation-website/Writerside/topics/SQL-Functions.md +++ b/documentation-website/Writerside/topics/SQL-Functions.md @@ -57,7 +57,7 @@ val nameLengths = FooTable.select(nameLength).map { it[nameLength] } ``` ## Aggregating functions -These functions should be used in queries with [groupBy](DSL-CRUD-operations.topic). +These functions should be used in queries with [groupBy](DSL-Querying-data.topic#group-by). ### Min/Max/Average Returns minimum/maximum/average value and can be applied to any comparable expression: ```kotlin diff --git a/documentation-website/Writerside/topics/Table-Definition.topic b/documentation-website/Writerside/topics/Table-Definition.topic index 1848c0fb35..dc39f5f101 100644 --- a/documentation-website/Writerside/topics/Table-Definition.topic +++ b/documentation-website/Writerside/topics/Table-Definition.topic @@ -187,7 +187,7 @@ val indexName = index("indexName", false, *arrayOf(name, population)) -// or inside an init block within the table object + // or inside an init block within the table object init { index("indexName", isUnique = false, name, population) }