Inspectopedia Help

'?' used as parameter in a Room query.

Reports Room SQL queries that use unnamed query parameters (e.g. WHERE id = ?). This is not supported by the Room query analyzer which requires named query parameters (e.g. WHERE id = :id) that correspond to arguments of the method annotated with @Query.

Inspection Details

Available in:

IntelliJ IDEA 2023.3, Qodana for Android 2023.3, Qodana for JVM 2023.3


Android, 2022.3.1 Beta 2

Last modified: 13 July 2023