Skip to content

Commit 0fd3bee

Browse files
committed
Remove unused asMap
1 parent 7897333 commit 0fd3bee

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

core/src/commonMain/kotlin/com/powersync/db/SqlCursor.kt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,6 @@ public interface SqlCursor {
1919
public val columnCount: Int
2020

2121
public val columnNames: Map<String, Int>
22-
23-
public fun asMap(): Map<String, Any?> =
24-
buildMap {
25-
columnNames.forEach { (name, index) ->
26-
put(name, getString(index))
27-
}
28-
}
2922
}
3023

3124
private inline fun <T> SqlCursor.getColumnValue(

0 commit comments

Comments
 (0)