use of androidx.room.RoomSQLiteQuery in project LibChecker-Rules-Bundle by zhaobozhen.
the class RuleDao_Impl method selectRuleByName.
@Override
public Cursor selectRuleByName(final String name) {
final String _sql = "SELECT * FROM rules_table WHERE name LIKE ?";
final RoomSQLiteQuery _statement = RoomSQLiteQuery.acquire(_sql, 1);
int _argIndex = 1;
if (name == null) {
_statement.bindNull(_argIndex);
} else {
_statement.bindString(_argIndex, name);
}
final Cursor _tmpResult = __db.query(_statement);
return _tmpResult;
}
Aggregations