Follow The New Tutorial updates on WhatsApp, Telegram or YouTube.

Important Methods in SQLite Database

MethodDescription
getColumnNames()This method is used to get the Array of column names of our SQLite table. 
getCount()This method will return the number of rows in the cursor. 
isClosed()This method returns a Boolean value when our cursor is closed. 
getColumnCount()This method returns the total number of columns present in our table. 
getColumnName(int columnIndex)This method will return the name of the column when we pass the index of our column in it. 
getColumnIndex(String columnName)This method will return the index of our column from the name of the column.
getPosition()This method will return the current position of our cursor in our table. 
Important Methods in SQLite Database