Skip to content

Commit

Permalink
doc: remove an ambiguous expression about specifing a value of decima…
Browse files Browse the repository at this point in the history
…l part

refs #1405
  • Loading branch information
Haruka Yoshihara committed Jun 26, 2012
1 parent b2a7fb3 commit 275b744
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/source/tutorial/micro_blog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ Usersテーブルのfollowerカラムとfavoritesカラム、そしてComments
Usersテーブルのlocationカラムと、Commentsテーブルのlocationカラムは、GeoPoint型です。この型での値の指定は、"[緯度]x[経度]"と記述して指定します。

Commentsテーブルのlast_modifiedカラムは、Time型です。この型での値を指定する方法は2つあります。
1つ目の方法は、1970年1月1日0時0分0秒からの経過秒数の値を直接指定する方法です。小数部分を指定することで秒よりも細かい値の指定が可能です。指定した秒数はデータのロードの際にマイクロ秒数に変換後、格納されます。
1つ目の方法は、1970年1月1日0時0分0秒からの経過秒数の値を直接指定する方法です。このとき、小数部分を指定することでマイクロ秒数での指定が可能です。指定した値は、データのロードの際にマイクロ秒を単位とする整数値に変換後、格納されます。
2つ目の方法は、文字列で日時と時刻を指定する方法です。"年/月/日 時:分:秒"というフォーマットで記述することで、データロードの際に文字列からキャストされ、マイクロ秒数の値が格納されます。

.. groonga-command
Expand Down

0 comments on commit 275b744

Please sign in to comment.