| 1 |
.. -*- rst -*- |
| 2 |
|
| 3 |
|
| 4 |
``table_copy`` |
| 5 |
============== |
| 6 |
|
| 7 |
Summary |
| 8 |
------- |
| 9 |
|
| 10 |
.. versionadded:: 6.0.8 |
| 11 |
|
| 12 |
TOOD: Write me |
| 13 |
|
| 14 |
Syntax |
| 15 |
------ |
| 16 |
|
| 17 |
This command takes two parameters. |
| 18 |
|
| 19 |
All parameters are required:: |
| 20 |
|
| 21 |
table_copy from_name |
| 22 |
to_name |
| 23 |
|
| 24 |
Usage |
| 25 |
----- |
| 26 |
|
| 27 |
|
| 28 |
Parameters |
| 29 |
---------- |
| 30 |
|
| 31 |
This section describes parameters. |
| 32 |
|
| 33 |
Required parameters |
| 34 |
^^^^^^^^^^^^^^^^^^^ |
| 35 |
|
| 36 |
All parameters are required. |
| 37 |
|
| 38 |
``from_name`` |
| 39 |
""""""""""""" |
| 40 |
|
| 41 |
Specifies the table name of source table. |
| 42 |
|
| 43 |
``to_name`` |
| 44 |
""""""""""" |
| 45 |
|
| 46 |
Specifies the destination table name. |
| 47 |
|
| 48 |
Optional parameters |
| 49 |
^^^^^^^^^^^^^^^^^^^ |
| 50 |
|
| 51 |
There is no optional parameter. |
| 52 |
|
| 53 |
Return value |
| 54 |
------------ |
| 55 |
|
| 56 |
The command returns ``true`` as body on success such as:: |
| 57 |
|
| 58 |
[HEADER, true] |
| 59 |
|
| 60 |
If the command fails, error details are in ``HEADER``. |
| 61 |
|
| 62 |
See :doc:`/reference/command/output_format` for ``HEADER``. |