getAllMessagesByEventAndChannelSince method

Future<List<LocalityEvent>> getAllMessagesByEventAndChannelSince(
  1. String event,
  2. String channel,
  3. int sinceTimestamp, {
  4. String? password,
})

Implementation

Future<List<LocalityEvent>> getAllMessagesByEventAndChannelSince(
    String event, String channel, int sinceTimestamp,
    {String? password}) async {
  return _getMessages(
    '${LocalityEvent.columnEvent} = ? AND ${LocalityEvent.columnChannel} = ? AND ${LocalityEvent.columnTimestamp} >= ?',
    [event, channel, sinceTimestamp],
    password: password,
  );
}