I have encountered some websites that when I used --
to comment the rest of the query it didn't work, but when I tried --+
it worked.
In the MySQL official documentation there is no such thing as --+
and we only have --
and two other ways.
Why does this happen (in detail)? I want to know exactly why this works sometimes and --
doesn't, and why there is no --+
for comments in the MySQL man page?