mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-06 10:40:36 -07:00
mysql_query: add note about running queries from file via mysql_db module (#55)
This commit is contained in:
parent
c3dd146220
commit
b2bde48020
1 changed files with 3 additions and 0 deletions
|
@ -15,6 +15,7 @@ description:
|
||||||
- Runs arbitrary MySQL queries.
|
- Runs arbitrary MySQL queries.
|
||||||
- Pay attention, the module does not support check mode!
|
- Pay attention, the module does not support check mode!
|
||||||
All queries will be executed in autocommit mode.
|
All queries will be executed in autocommit mode.
|
||||||
|
- To run SQL queries from a file, use M(community.mysql.mysql_db) module.
|
||||||
version_added: '0.1.0'
|
version_added: '0.1.0'
|
||||||
options:
|
options:
|
||||||
query:
|
query:
|
||||||
|
@ -42,6 +43,8 @@ options:
|
||||||
- Where passed queries run in a single transaction (C(yes)) or commit them one-by-one (C(no)).
|
- Where passed queries run in a single transaction (C(yes)) or commit them one-by-one (C(no)).
|
||||||
type: bool
|
type: bool
|
||||||
default: no
|
default: no
|
||||||
|
seealso:
|
||||||
|
- module: community.mysql.mysql_db
|
||||||
author:
|
author:
|
||||||
- Andrew Klychkov (@Andersson007)
|
- Andrew Klychkov (@Andersson007)
|
||||||
extends_documentation_fragment:
|
extends_documentation_fragment:
|
||||||
|
|
Loading…
Add table
Reference in a new issue