Skip to content

Commit

Permalink
docs: delete meaningless content
Browse files Browse the repository at this point in the history
  • Loading branch information
kihwankim committed Oct 7, 2024
1 parent 7bdfe91 commit 19d48aa
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
9 changes: 0 additions & 9 deletions docs/en/jpql-with-kotlin-jdsl/statements.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,15 +130,6 @@ from(

Use `selectFrom()` and pass [Entity](entities.md) and [Join](statements.md#Join-For-SelectFrom) to specify the entities for selection.
In the `selectFrom()` function you can create the select and from clause at once.

```kotlin
// It can infer the result type.
selectFrom(path(Author::class))

// It cannot infer the result type.
selectFrom(path(Author::class))
```

'SelectFrom()' has the same effect as calling the existing 'select()' and 'from()', respectively.

```kotlin
Expand Down
10 changes: 0 additions & 10 deletions docs/ko/jpql-with-kotlin-jdsl/statements.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,16 +132,6 @@ from(

select statement의 select clause와 from clause를 한 번에 만들기 위해, `selectFrom()`을 이용할 수 있습니다.
`selectFrom()`[Entity](entities.md)[Join](statements.md#Join-For-SelectFrom)을 파라미터로 받아 어떤 entity를 통해 조회가 되는지 표현합니다.


```kotlin
// It can infer the result type.
selectFrom(path(Author::class))

// It cannot infer the result type.
selectFrom(path(Author::class))
```

`selectFrom()`은 기존의 `select()`, `from()`을 각각 호출하는 것과 동일한 효과를 가져옵니다.

```kotlin
Expand Down

0 comments on commit 19d48aa

Please sign in to comment.