toggle menu
SQLDelight
2.0.2
jvm
switch theme
search in API
rxjava2-extensions
/
app.cash.sqldelight.rx2
Package-level
declarations
Functions
Functions
as
Observable
Link copied to clipboard
@
CheckReturnValue
@
JvmOverloads
@
JvmName
(
name
=
"toObservable"
)
fun
<
T
:
Any
>
Query
<
T
>
.
asObservable
(
scheduler
:
Scheduler
=
Schedulers.io()
)
:
Observable
<
Query
<
T
>
>
Turns this
Query
into an
Observable
which emits whenever the underlying result set changes.
map
To
List
Link copied to clipboard
@
CheckReturnValue
fun
<
T
:
Any
>
Observable
<
Query
<
T
>
>
.
mapToList
(
)
:
Observable
<
List
<
T
>
>
map
To
One
Link copied to clipboard
@
CheckReturnValue
fun
<
T
:
Any
>
Observable
<
Query
<
T
>
>
.
mapToOne
(
)
:
Observable
<
T
>
map
To
One
Non
Null
Link copied to clipboard
@
CheckReturnValue
fun
<
T
:
Any
>
Observable
<
Query
<
T
>
>
.
mapToOneNonNull
(
)
:
Observable
<
T
>
map
To
One
Or
Default
Link copied to clipboard
@
CheckReturnValue
fun
<
T
:
Any
>
Observable
<
Query
<
T
>
>
.
mapToOneOrDefault
(
defaultValue
:
T
)
:
Observable
<
T
>
map
To
Optional
Link copied to clipboard
@
CheckReturnValue
fun
<
T
:
Any
>
Observable
<
Query
<
T
>
>
.
mapToOptional
(
)
:
Observable
<
Optional
<
T
>
>