#sql
SQL Query
Run a simple SQL query directly from chat
Usage
#sql <query> <angle brackets> are required [square brackets] are optional flags change what it does
Arguments
queryRequired Text, the rest of the messageThe SQL query to run, or the redis command and its parameters
Flags 3
-unwrapSwitch Bot developers onlyDo not invoke a transaction block on a query if truthy
#sql -unwrap <query>-printSwitch Bot developers onlyPrint the output of the query to a file if truthy
#sql -print <query>-rollbackSwitch Bot developers onlyRollback the transaction if truthy
#sql -rollback <query>
Examples 2
Run a SQL query
InvigoratingTaco612:#sql SELECT COUNT(*) FROM users
Run a query that matches nothing
RizzingDonut:#sql SELECT * FROM users WHERE username = 'nobody'