RoomRawQuery



A query with an argument binding function.

See also
RawQuery

Summary

Public constructors

RoomRawQuery(sql: String, onBindStatement: (SQLiteStatement) -> Unit)
Cmn

Public functions

(SQLiteStatement) -> Unit
Cmn

Public properties

String

The SQL query.

Cmn

Public constructors

RoomRawQuery

RoomRawQuery(sql: String, onBindStatement: (SQLiteStatement) -> Unit = {})

Public functions

getBindingFunction

fun getBindingFunction(): (SQLiteStatement) -> Unit

Public properties

sql

val sqlString

The SQL query.

The query can have placeholders (?) to bind arguments.