public Cursor rawQuery ( String sql ) { SQLiteDatabase db = getDatabaseConnection ( ) ; return new DbClosingCursor ( db . rawQuery ( sql , null ) , this ) ; }
Executes a raw query on the database . Note that when calling close on the returned cursor the database connection count is reduces as well .