public interface

RoomDatabase.QueryCallback

 androidx.room.RoomDatabase.QueryCallback

Overview

Callback interface for when SQLite queries are executed.

Summary

Methods
public voidonQuery(java.lang.String sqlQuery, java.util.List<java.lang.Object> bindArgs)

Called when a SQL query is executed.

Methods

public void onQuery(java.lang.String sqlQuery, java.util.List<java.lang.Object> bindArgs)

Called when a SQL query is executed.

Parameters:

sqlQuery: The SQLite query statement.
bindArgs: Arguments of the query if available, empty list otherwise.