Skip to content

Commit

Permalink
docs: 修复一个文档错误
Browse files Browse the repository at this point in the history
  • Loading branch information
nullaqua committed Jun 24, 2024
1 parent cc17cf2 commit 50d585c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ import java.util.*
*
* 例如:
* ```kotlin
* val query = WindowFunctionQuery(rawQuery, 0 10)
* val query = WindowFunctionQuery(rawQuery, 0, 10)
* val result: List<ResultRow> = query.toList()
* val totalCount = result.firstOrNull()?.getOrNull(WindowFunctionQuery.totalCount) ?: error("获取总数据量失败")
* val withRowNumber: List<Pair<Long, ResultRow>> = result.map { it[WindowFunctionQuery.rowNumber] to it }
Expand Down

0 comments on commit 50d585c

Please sign in to comment.