MessageDB class

Properties

extraCols String
final
hashCode int
The hash code for this object.
no setterinherited
messageCols String
final
requestCount int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

deleteWithChannel(String channelId, int channelType) Future<int>
deleteWithMessageIDs(List<String> msgIds) Future<int>
getDeletedCount(int minMessageSeq, int maxMessageSeq, String channelID, int channelType) Future<int>
getExtraMap(WKMsgExtra extra) → dynamic
getMap(WKMsg msg) → dynamic
getMaxMessageSeq(String channelID, int channelType) Future<int>
getMessages(String channelId, int channelType, int oldestOrderSeq, bool contain, int pullMode, int limit) Future<List<WKMsg>>
getMsgSeq(String channelID, int channelType, int oldestOrderSeq, int pullMode) Future<int>
getOrderSeq(String channelID, int channelType, int maxOrderSeq, int limit) Future<int>
getOrSyncHistoryMessages(String channelId, int channelType, int oldestOrderSeq, bool contain, int pullMode, int limit, dynamic iGetOrSyncHistoryMsgBack(List<WKMsg>), dynamic syncBack()) → void
insert(WKMsg msg) Future<int>
insertMsgExtras(List<WKMsgExtra> list) Future<bool>
insertMsgList(List<WKMsg> list) Future<bool>
insertOrUpdateMsgExtras(List<WKMsgExtra> list) Future<bool>
isExist(String clientMsgNo) Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryMaxExtraVersionWithChannel(String channelID, int channelType) Future<int>
queryMaxOrderSeq(String channelID, int channelType) Future<int>
queryMaxOrderSeqMsgWithChannel(String channelID, int channelType) Future<WKMsg?>
queryMsgExtrasWithMsgIds(List<String> msgIds) Future<List<WKMsgExtra>>
queryMsgExtraWithMsgID(String messageID) Future<WKMsgExtra?>
queryMsgExtraWithNeedUpload(int needUpload) Future<List<WKMsgExtra>>
queryWithClientMsgNo(String clientMsgNo) Future<WKMsg?>
queryWithClientMsgNos(List<String> clientMsgNos) Future<List<WKMsg>>
queryWithClientSeq(int clientSeq) Future<WKMsg?>
queryWithMessageIds(List<String> messageIds) Future<List<WKMsg>>
searchMsgWithChannelAndContentTypes(String channelID, int channelType, int oldestOrderSeq, int limit, List<int> contentTypes) Future<List<WKMsg>>
searchWithChannel(String keyword, String channelId, int channelType) Future<List<WKMsg>>
toString() String
A string representation of this object.
inherited
updateMsg(WKMsg msg) Future<int>
updateMsgWithField(dynamic map, int clientSeq) Future<int>
updateMsgWithFieldAndClientMsgNo(dynamic map, String clientMsgNO) Future<int>
updateSendingMsgFail() → dynamic

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

shared MessageDB
no setter