Kouhei Sutou
null+****@clear*****
Fri Jan 10 19:07:35 JST 2014
Kouhei Sutou 2014-01-10 19:07:35 +0900 (Fri, 10 Jan 2014) New Revision: c4a7314bdd4ced702ef04b5a5657f16fe14b105b https://github.com/ranguba/rroonga/commit/c4a7314bdd4ced702ef04b5a5657f16fe14b105b Message: Add Record#support_value? Modified files: lib/groonga/record.rb Modified: lib/groonga/record.rb (+6 -0) =================================================================== --- lib/groonga/record.rb 2014-01-10 19:07:21 +0900 (eca1f1b) +++ lib/groonga/record.rb 2014-01-10 19:07:35 +0900 (b1de2c7) @@ -117,6 +117,12 @@ module Groonga @table.support_key? end + # @return @true@ if the table that the record belongs to is + # created with value type, @false@ otherwise. + def support_value? + @table.support_value? + end + # 名前が _name_ のカラムがレコードの所属するテーブルで定義され # ているなら +true+ を返す。 def have_column?(name) -------------- next part -------------- HTML����������������������������...Download