class ConceptQL::Operators::StartedBy

Public Instance Methods

where_clause() click to toggle source
# File lib/conceptql/operators/started_by.rb, line 13
def where_clause
  [ { l__start_date: :r__start_date } ] + \
  if inclusive?
    [ Proc.new { l__end_date >= r__end_date } ]
  else
    [ Proc.new { l__end_date > r__end_date } ]
  end
end