Is there any way we can include multiple statements inside on raw queries.
My use case would be I need to run
SET @@group_concat_max_len=100000;
before the select statement.
Update
For my specific problem, I solved by adding a init_command for the MySQL configuration in my settings.py.
"OPTIONS": {
"init_command": "SET SESSION group_concat_max_len = 1000000;"
}
However, I am still looking for solutions directly solved my initial problem.