Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
游标API 告诉当尝试访问空值列时,该行为由实现定义,如果我转到SQLiteCursor,则该行为没有记录。是SQLiteCursor返回一个NULL还是抛出一个Exception?
SQLiteCursor
NULL
Exception
没关系,我通过使用isNull方法检查空值解决了问题。
cursor.isEmpty() 为我工作。