mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-08 11:40:33 -07:00
* 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>
(cherry picked from commit 754387c7e5
)
Co-authored-by: IBims1NicerTobi <54948543+IBims1NicerTobi@users.noreply.github.com>
This commit is contained in:
parent
423a2272aa
commit
095df1e8af
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue