SQLDelight
Toggle table of contents
2.2.0-SNAPSHOT
common
concurrent
Platform filter
common
concurrent
Switch theme
Search in API
SQLDelight
async-extensions
/
app.cash.sqldelight.async.coroutines
Package-level
declarations
Functions
Functions
await
Link copied to clipboard
suspend
fun
SqlDriver
.
await
(
identifier
:
Int
?
,
sql
:
String
,
parameters
:
Int
,
binders
:
SqlPreparedStatement
.
(
)
->
Unit
?
=
null
)
:
Long
await
As
List
Link copied to clipboard
suspend
fun
<
T
:
Any
>
ExecutableQuery
<
T
>
.
awaitAsList
(
)
:
List
<
T
>
await
As
One
Link copied to clipboard
suspend
fun
<
T
:
Any
>
ExecutableQuery
<
T
>
.
awaitAsOne
(
)
:
T
await
As
One
Or
Null
Link copied to clipboard
suspend
fun
<
T
:
Any
>
ExecutableQuery
<
T
>
.
awaitAsOneOrNull
(
)
:
T
?
await
Create
Link copied to clipboard
suspend
fun
SqlSchema
<
*
>
.
awaitCreate
(
driver
:
SqlDriver
)
await
Migrate
Link copied to clipboard
suspend
fun
SqlSchema
<
*
>
.
awaitMigrate
(
driver
:
SqlDriver
,
oldVersion
:
Long
,
newVersion
:
Long
)
await
Query
Link copied to clipboard
suspend
fun
<
R
>
SqlDriver
.
awaitQuery
(
identifier
:
Int
?
,
sql
:
String
,
mapper
:
suspend
(
SqlCursor
)
->
R
,
parameters
:
Int
,
binders
:
SqlPreparedStatement
.
(
)
->
Unit
?
=
null
)
:
R
synchronous
Link copied to clipboard
concurrent
fun
SqlSchema
<
QueryResult.AsyncValue
<
Unit
>
>
.
synchronous
(
)
:
SqlSchema
<
QueryResult.Value
<
Unit
>
>