HAYASHI Kentaro
null+****@clear*****
Fri Sep 12 16:14:43 JST 2014
HAYASHI Kentaro 2014-09-12 16:14:43 +0900 (Fri, 12 Sep 2014) New Revision: 13b05a05059217b514ad221546693feb7568b023 https://github.com/groonga/groonga/commit/13b05a05059217b514ad221546693feb7568b023 Message: doc: write in English about Users table Modified files: doc/source/tutorial/micro_blog.rst Modified: doc/source/tutorial/micro_blog.rst (+13 -12) =================================================================== --- doc/source/tutorial/micro_blog.rst 2014-09-12 15:56:24 +0900 (999e1e4) +++ doc/source/tutorial/micro_blog.rst 2014-09-12 16:14:43 +0900 (d438b5a) @@ -49,35 +49,36 @@ Let's create table. column_create --table GeoIndex --name users_location --type Users --flags COLUMN_INDEX --source location column_create --table GeoIndex --name comments_location --type Comments --flags COLUMN_INDEX --source location -Usersテーブル -^^^^^^^^^^^^^ +Users table +^^^^^^^^^^^ -ユーザーの名前や自己紹介文、フォローしているユーザー一覧など、ユーザー情報を格納するためのテーブルです。 +This is the table which stores user information. +It stores name of user, profile, list of follower and so on. ``_key`` - ユーザーID + User ID ``name`` - ユーザー名 + User name ``follower`` - フォローしているユーザーの一覧 + List of following users ``favorites`` - お気に入りのコメント一覧 + List of favorite comments ``location`` - ユーザーの現在地(緯度経度座標) + Current location of user (geolocation) ``location_str`` - ユーザーの現在地(文字列) + Current location of user (string) ``description`` - ユーザーの自己紹介 + User profile ``followee`` - Usersテーブルのfollowerカラムに対するインデックス。 - このインデックスを作ることで、あるユーザーをフォローしているユーザーを検索できるようになります。 + Indexes for ``follower`` column in ``Users`` table. + With this indexes, you can search users who follows the person. Commentsテーブル ^^^^^^^^^^^^^^^^ -------------- next part -------------- HTML����������������������������... Download