diff --git a/docs/cli.rst b/docs/cli.rst index e74f59a..d2d1812 100644 --- a/docs/cli.rst +++ b/docs/cli.rst @@ -469,6 +469,9 @@ Or pass named parameters using ``--where`` in combination with ``-p``:: Use ``--limit N`` to only return the first ``N`` rows. Use ``--offset N`` to return rows starting from the specified offset. +.. note:: + In Python: :ref:`table.rows ` CLI reference: :ref:`sqlite-utils rows ` + .. _cli_tables: Listing tables @@ -521,6 +524,9 @@ Use ``--schema`` to include the schema of each table:: The ``--nl``, ``--csv``, ``--tsv``, ``--table`` and ``--fmt`` options are also available. +.. note:: + In Python: :ref:`db.tables or db.table_names() ` CLI reference: :ref:`sqlite-utils tables ` + .. _cli_views: Listing views @@ -544,6 +550,9 @@ It takes the same options as the ``tables`` command: * ``--tsv`` * ``--table`` +.. note:: + In Python: :ref:`db.views or db.view_names() ` CLI reference: :ref:`sqlite-utils views ` + .. _cli_indexes: Listing indexes @@ -571,6 +580,9 @@ The command defaults to only showing the columns that are explicitly part of the The command takes the same format options as the ``tables`` and ``views`` commands. +.. note:: + In Python: :ref:`table.indexes ` CLI reference: :ref:`sqlite-utils indexes ` + .. _cli_triggers: Listing triggers @@ -599,6 +611,9 @@ It defaults to showing triggers for all tables. To see triggers for one or more The command takes the same format options as the ``tables`` and ``views`` commands. +.. note:: + In Python: :ref:`table.triggers or db.triggers ` CLI reference: :ref:`sqlite-utils triggers ` + .. _cli_schema: Showing the schema @@ -617,6 +632,9 @@ This will show the schema for every table and index in the database. To view the $ sqlite-utils schema dogs.db dogs chickens ... +.. note:: + In Python: :ref:`table.schema ` or :ref:`db.schema ` CLI reference: :ref:`sqlite-utils schema ` + .. _cli_analyze_tables: Analyzing tables