PowerSync Kotlin
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
PowerSync Kotlin
PowerSync Common
/
com.powersync.db.internal
/
PowerSyncTransaction
Power
Sync
Transaction
interface
PowerSyncTransaction
:
ConnectionContext
(
source
)
Members
Functions
execute
Async
Link copied to clipboard
expect
abstract
suspend
fun
executeAsync
(
sql
:
String
,
parameters
:
List
<
Any
?
>
?
=
listOf()
)
:
Long
get
All
Async
Link copied to clipboard
expect
abstract
suspend
fun
<
RowType
:
Any
>
getAllAsync
(
sql
:
String
,
parameters
:
List
<
Any
?
>
?
=
listOf()
,
mapper
:
(
SqlCursor
)
->
RowType
)
:
List
<
RowType
>
get
Async
Link copied to clipboard
expect
abstract
suspend
fun
<
RowType
:
Any
>
getAsync
(
sql
:
String
,
parameters
:
List
<
Any
?
>
?
=
listOf()
,
mapper
:
(
SqlCursor
)
->
RowType
)
:
RowType
get
Optional
Async
Link copied to clipboard
expect
abstract
suspend
fun
<
RowType
:
Any
>
getOptionalAsync
(
sql
:
String
,
parameters
:
List
<
Any
?
>
?
=
listOf()
,
mapper
:
(
SqlCursor
)
->
RowType
)
:
RowType
?