Sha256: eb9ed64d356c8df3e0efb26c85b52cf33fc9aa9e7a5ac3ed142132cb68eacd1f
Contents?: true
Size: 424 Bytes
Versions: 1
Compression:
Stored size: 424 Bytes
Contents
require_relative 'temporal_operator' module ConceptQL module Operators class Contains < TemporalOperator desc <<-EOF Any result in the LHR whose start_date is on or before and whose end_date is on or after a result from the RHR. L--X-L R-----R L------Y--------L EOF def where_clause [Proc.new { l__start_date <= r__start_date}, Proc.new { r__end_date <= l__end_date }] end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
conceptql-0.2.0 | lib/conceptql/operators/contains.rb |