Sha256: e90c862a84df24210ea04f06dd380d8fe92f828c0575c84bff32099c6b0d073a

Contents?: true

Size: 1.62 KB

Versions: 24

Compression:

Stored size: 1.62 KB

Contents

.. -*- rst -*-

.. highlightlang:: none

table_list
==========

名前
----

table_list - DBに定義されているテーブルをリスト表示

書式
----
::

 table_list

説明
----

Groonga組込コマンドの一つであるtable_listについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。

table_listは、DBに定義されているテーブルのリストを表示します。

引数
----

ありません。

返値
----

json形式
^^^^^^^^

テーブル名一覧が以下の形式で返却されます。::

  [[[テーブル情報名1,テーブル情報型1],...], テーブル情報1,...]

``テーブル情報名n``

  ``テーブル情報n`` には複数の情報が含まれますが、そこに入る情報がどんな内容かを示す名前を出力します。
  情報名は以下の通りです。

  ``id``

    テーブルオブジェクトに割り当てられたID

  ``name``

    テーブル名

  ``path``

    テーブルのレコードを格納するファイル名

  ``flags``

    テーブルのflags属性

  ``domain``

    主キー値の属する型

  ``range``

    valueが属する型

``テーブル情報型n``

  テーブル情報の型を出力します。

``テーブル情報n``

  ``テーブル情報名n`` で示された情報の配列を出力します。
  情報の順序は ``テーブル情報名n`` の順序と同じです。

.. groonga-command
.. include:: ../../example/reference/commands/table_list.log
.. table_list

Version data entries

24 entries across 12 versions & 1 rubygems

Version Path
rroonga-4.0.3-x86-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_list.txt
rroonga-4.0.3-x86-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_list.txt
rroonga-4.0.3-x64-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_list.txt
rroonga-4.0.3-x64-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_list.txt
rroonga-4.0.2-x64-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_list.txt
rroonga-4.0.2-x64-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_list.txt
rroonga-4.0.2-x86-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_list.txt
rroonga-4.0.2-x86-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_list.txt
rroonga-4.0.1-x86-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_list.txt
rroonga-4.0.1-x86-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_list.txt
rroonga-4.0.1-x64-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_list.txt
rroonga-4.0.1-x64-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_list.txt
rroonga-4.0.0-x64-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_list.txt
rroonga-4.0.0-x64-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_list.txt
rroonga-4.0.0-x86-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_list.txt
rroonga-4.0.0-x86-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_list.txt
rroonga-3.1.2-x64-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_list.txt
rroonga-3.1.2-x64-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_list.txt
rroonga-3.1.2-x86-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_list.txt
rroonga-3.1.2-x86-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_list.txt