[Groonga-commit] groonga/groonga at 51076ef [master] doc: add examples

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Feb 26 16:23:53 JST 2016


Kouhei Sutou	2016-02-26 16:23:53 +0900 (Fri, 26 Feb 2016)

  New Revision: 51076ef2050c4f1994c9c89e827daeddcf23fbac
  https://github.com/groonga/groonga/commit/51076ef2050c4f1994c9c89e827daeddcf23fbac

  Message:
    doc: add examples

  Added files:
    doc/source/example/reference/commands/object_inspect/usage-database.log
    doc/source/example/reference/commands/object_inspect/usage-name.log

  Added: doc/source/example/reference/commands/object_inspect/usage-database.log (+27 -0) 100644
===================================================================
--- /dev/null
+++ doc/source/example/reference/commands/object_inspect/usage-database.log    2016-02-26 16:23:53 +0900 (96b8d87)
@@ -0,0 +1,27 @@
+Execution example::
+
+  object_inspect
+  # [
+  #   [
+  #     0, 
+  #     1337566253.89858, 
+  #     0.000355720520019531
+  #   ], 
+  #   {
+  #     "keys": {
+  #       "type": {
+  #         "id": 50, 
+  #         "name": "table:dat_key"
+  #       }, 
+  #       "id": 0, 
+  #       "key": {
+  #         "type": null
+  #       }, 
+  #       "name": ""
+  #     }, 
+  #     "type": {
+  #       "id": 55, 
+  #       "name": "db"
+  #     }
+  #   }
+  # ]

  Added: doc/source/example/reference/commands/object_inspect/usage-name.log (+38 -0) 100644
===================================================================
--- /dev/null
+++ doc/source/example/reference/commands/object_inspect/usage-name.log    2016-02-26 16:23:53 +0900 (73acf71)
@@ -0,0 +1,38 @@
+Execution example::
+
+  table_create Users TABLE_HASH_KEY ShortText
+  # [[0, 1337566253.89858, 0.000355720520019531], true]
+  load --table Users
+  [
+  {"_key": "Alice"}
+  ]
+  # [[0, 1337566253.89858, 0.000355720520019531], 1]
+  object_inspect Users
+  # [
+  #   [
+  #     0, 
+  #     1337566253.89858, 
+  #     0.000355720520019531
+  #   ], 
+  #   {
+  #     "type": {
+  #       "id": 48, 
+  #       "name": "table:hash_key"
+  #     }, 
+  #     "id": 256, 
+  #     "key": {
+  #       "total_size": 5, 
+  #       "max_total_size": 4294967295, 
+  #       "type": {
+  #         "size": 4096, 
+  #         "type": {
+  #           "id": 32, 
+  #           "name": "type"
+  #         }, 
+  #         "id": 14, 
+  #         "name": "ShortText"
+  #       }
+  #     }, 
+  #     "name": "Users"
+  #   }
+  # ]
-------------- next part --------------
HTML����������������������������...
Télécharger 



More information about the Groonga-commit mailing list
Back to archive index