DatabaseHelper class

Properties

database Future<Database?>
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearSessionAitMessage(String sessionId, String accId) Future<int>
deleteMessage(String sessionId, String messageId, String accId) Future<int>
insert(Map<String, dynamic> row) Future<int>
insertAitMessage(String sessionId, String messageId, String accId) Future<int>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryAllAitSession(String accId) Future<List<String>>
查询对应账号中所有@的sessionId
queryMessageIdsBySessionId(String sessionId, String accId) Future<List<String>>
查询session中对应的@消息
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance DatabaseHelper
final

Constants

messageIdColumn → const String
myAccId → const String
sessionIdColumn → const String
table → const String