getClientId method

Future<String> getClientId()
inherited

Get an unique id for this client. This id is only reset when the database is deleted.

Implementation

Future<String> getClientId() async {
  final row = await get('SELECT powersync_client_id() as client_id');
  return row['client_id'] as String;
}