Skip to content

Commit

Permalink
Don't expose JsWorkerSqlCursor (#3874)
Browse files Browse the repository at this point in the history
Code gen and api uses `SqlCursor`
  • Loading branch information
hfhbd committed Feb 12, 2023
1 parent 56ea0fb commit 5500640
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ private external interface RequestBuilder {
var params: Array<Any?>?
}

class JsWorkerSqlCursor(private val values: Array<Array<dynamic>>) : SqlCursor {
internal class JsWorkerSqlCursor(private val values: Array<Array<dynamic>>) : SqlCursor {
private var currentRow = -1

override fun next(): Boolean = ++currentRow < values.size
Expand Down

0 comments on commit 5500640

Please sign in to comment.