Code example for SQLiteDatabase

Methods: isOpenrawQuery

0
		} 
		 
		if (useFullTextIndex && withSnippets)
			whatTextToSelect = "snippet(" + table + ")";
		 
		return mDatabase.rawQuery("select " + COL_SURA + ", " + COL_AYAH +
				", " + whatTextToSelect + " from " + table + " where " + COL_TEXT +
				operator + query + endOperator + " limit 50", null);
	} 
	 
	public void closeDatabase() { 
		if (mDatabase != null){
			mDatabase.close();
         mDatabase = null;
      } 
	} 
}