sql method

Future<void> sql({
  1. required String query,
})

Handler for sql.

Query the Tautulli database with raw SQL.

Automatically makes a backup of the database if the latest backup is older than 24 hours. api_sql must be manually enabled in the config file while Tautulli is shut down.

Required Parameters:

  • query: The SQL query to run.

Implementation

Future<void> sql({
    required String query,
}) async => _commandSql(_client, query: query);