SQLite:SQLite总结

    xiaoxiao2021-03-25  129

    SQLiteLog: (284) automatic index on chats

    contentProvider 查询联系人的最新消息(合并查询)

    mSelection = ChatConstants.DATE + " in (select max(" + ChatConstants.DATE + ") from " + ChatProvider.TABLE_CHATS + " where " + ChatConstants.ACCOUNT + " = " + account + " group by " + ChatConstants.OTHER_JID + " having count(*) > 0)";// 查询合并重复jid字段的所有聊天对象
    转载请注明原文地址: https://ju.6miu.com/read-5480.html

    最新回复(0)