Added formatting behaviour to documentation (#516)

* Added formatting behaviour to documentation

* Update plugins/modules/mysql_query.py

Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>

---------

Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
This commit is contained in:
IBims1NicerTobi 2023-03-31 13:27:48 +02:00 committed by GitHub
parent e2aa655762
commit 754387c7e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,6 +22,9 @@ options:
description: description:
- SQL query to run. Multiple queries can be passed using YAML list syntax. - SQL query to run. Multiple queries can be passed using YAML list syntax.
- Must be a string or YAML list containing strings. - Must be a string or YAML list containing strings.
- If you use I(named_args) or I(positional_args) any C(%) will be interpreted
as a formatting character. All literal C(%) characters in the query should be
escaped as C(%%).
- Note that if you use the C(IF EXISTS/IF NOT EXISTS) clauses in your query - Note that if you use the C(IF EXISTS/IF NOT EXISTS) clauses in your query
and C(mysqlclient) connector, the module will report that and C(mysqlclient) connector, the module will report that
the state has been changed even if it has not. If it is important in your the state has been changed even if it has not. If it is important in your