RoomDatabase.QueryCallback

public static interface RoomDatabase.QueryCallback

androidx.room.RoomDatabase.QueryCallback


Callback interface for when SQLite queries are executed.

Summary

Public methods

abstract void onQuery(String sqlQuery, List<Object> bindArgs)

Called when a SQL query is executed.

Public methods

onQuery

public abstract void onQuery (String sqlQuery, 
                List<Object> bindArgs)

Called when a SQL query is executed.

Parameters
sqlQuery String: The SQLite query statement.

bindArgs List: Arguments of the query if available, empty list otherwise.