4e010a3939b69abc035affdaa356cafb84b54f8b
[yaffs-website] / vendor / drupal / console-en / translations / database.query.yml
1 description: 'Executes a SQL statement directly as argument'
2 arguments:
3     query: 'The SQL statement to execute'
4     database: 'Database key from settings.php'
5 options:
6     quick: 'Do not cache each query result, print each row as it is received'
7     debug: 'Prints debugging information and memory and CPU usage statistics when the program exits'
8     html: 'Produce HTML output'
9     xml: 'Produce XML output'
10     raw: 'Special characters are not escaped in the output.'
11     vertical: 'Print query output rows vertically'
12     batch: 'Print results using tab as the column separator, with each row on a new line. With this option, mysql does not use the history file'
13 messages:
14     connection: 'Connection: "%s"'
15 help: 'First argument should be the SQL statement. Second argument could be the name of the affected database.'
16 examples:
17     - description: 'Send a database query'
18       execution: |
19         drupal database:query 'select * from node limit 0,1'