@@ -2,30 +2,29 @@ package com.powersync.db.internal
22
33import com.powersync.PowerSyncException
44import com.powersync.db.SqlCursor
5- import kotlin.coroutines.cancellation.CancellationException
65
76public interface ConnectionContext {
8- @Throws(PowerSyncException ::class , CancellationException :: class )
7+ @Throws(PowerSyncException ::class )
98 public fun execute (
109 sql : String ,
1110 parameters : List <Any ?>? = listOf(),
1211 ): Long
1312
14- @Throws(PowerSyncException ::class , CancellationException :: class )
13+ @Throws(PowerSyncException ::class )
1514 public fun <RowType : Any > getOptional (
1615 sql : String ,
1716 parameters : List <Any ?>? = listOf(),
1817 mapper : (SqlCursor ) -> RowType ,
1918 ): RowType ?
2019
21- @Throws(PowerSyncException ::class , CancellationException :: class )
20+ @Throws(PowerSyncException ::class )
2221 public fun <RowType : Any > getAll (
2322 sql : String ,
2423 parameters : List <Any ?>? = listOf(),
2524 mapper : (SqlCursor ) -> RowType ,
2625 ): List <RowType >
2726
28- @Throws(PowerSyncException ::class , CancellationException :: class )
27+ @Throws(PowerSyncException ::class )
2928 public fun <RowType : Any > get (
3029 sql : String ,
3130 parameters : List <Any ?>? = listOf(),
0 commit comments