I'm using Ruby. And based on the Andy's answer, I tried with rufus/tokyo, which is a Ruby Gem (package for Ruby) to access Tokyo Cabinet. It turned out that it was :stror instead of :include in the case of rufus/tokyo (Rufus::Tokyo::TableQuery).
I thought that posting it may be useful to Ruby users. In the code, I'm trying to create one-to-many relationships to something called sector based on its id.
Here is what I did:
$ irb
>> require 'rubygems'
=> false
>> require 'rufus/tokyo'
=> true
>> table = Rufus::Tokyo::Table.new("temp3.tct", :mode => "cwf")
=> #<Rufus::Tokyo::Table:0x1006304b0 @db=#<Native Pointer address=0x101c01b40>, @path="temp3.tct">
>> id = table.generate_unique_id
=> 1
>> table[1] = { "name" => "Temp 1", "sector_ids" => "23, 3, 1, 5236, 36" }
=> {"sector_ids"=>"23, 3, 1, 5236, 36", "name"=>"Temp 1"}
>> table_result_set = table.query { | query | query.add 'sector_ids', :includes, "3" }
=> [{"name"=>"Temp 1", "sector_ids"=>"23, 3, 1, 5236, 36", :pk=>"1"}]
>> table[2] = { "name" => "Temp 2", "sector_ids" => "523, 63, 23" }
=> {"sector_ids"=>"523, 63, 23", "name"=>"Temp 2"}
>> table_result_set = table.query { | query | query.add 'sector_ids', :includes, "3" }
=> [{"name"=>"Temp 1", "sector_ids"=>"23, 3, 1, 5236, 36", :pk=>"1"}, {"name"=>"Temp 2", "sector_ids"=>"523, 63, 23", :pk=>"2"}]
>> table_result_set = table.query { | query | query.add 'sector_ids', :stror, "3" }
=> [{"name"=>"Temp 1", "sector_ids"=>"23, 3, 1, 5236, 36", :pk=>"1"}]
>> table_result_set = table.query { | query | query.add 'sector_ids', :stror, "63" }
=> [{"name"=>"Temp 2", "sector_ids"=>"523, 63, 23", :pk=>"2"}]
>> table_result_set = table.query { | query | query.add 'sector_ids', :stror, "2" }
=> []