So what do I get? I cannot find it and I already forgot. Will it be an error or just variable which is supposed to get the item will stay empty?
(I am asking it because I want to check if in db is already the element to avoid duplicates, if you have any other way feel free to post it)
EDIT: What is unclear about this question? I have asked what do I get if I execute SELECT query in SQLite (android) and the element is not present in the DB what value will have the cursor or what is the result. Is it an error or null value or what? As I already found out it is null value in cursor. That was all.
EDIT2: If it is so unclear how is it possible that Viger understood and answered, unfortunately in the comment:
You get an empty Cursor. Just use the cursor.getCount(); method to determine it it contains 0 rows