Module: NotionRubyMapping::GreaterThanLessThan
- Included in:
- FormulaProperty, NumberProperty, RollupProperty, UniqueIdProperty
- Defined in:
- lib/notion_ruby_mapping/properties/property.rb
Overview
module for make query of starts_with and ends_with
Instance Method Summary collapse
-
#filter_greater_than(value, condition: nil, another_type: nil) ⇒ NotionRubyMapping::Query
Generated Query object.
-
#filter_greater_than_or_equal_to(value, condition: nil, another_type: nil) ⇒ NotionRubyMapping::Query
Generated Query object.
-
#filter_less_than(value, condition: nil, another_type: nil) ⇒ NotionRubyMapping::Query
Generated Query object.
-
#filter_less_than_or_equal_to(value, condition: nil, another_type: nil) ⇒ NotionRubyMapping::Query
Generated Query object.
Instance Method Details
#filter_greater_than(value, condition: nil, another_type: nil) ⇒ NotionRubyMapping::Query
Returns generated Query object.
331 332 333 |
# File 'lib/notion_ruby_mapping/properties/property.rb', line 331 def filter_greater_than(value, condition: nil, another_type: nil) make_filter_query "greater_than", value, condition: condition, another_type: another_type end |
#filter_greater_than_or_equal_to(value, condition: nil, another_type: nil) ⇒ NotionRubyMapping::Query
Returns generated Query object.
347 348 349 |
# File 'lib/notion_ruby_mapping/properties/property.rb', line 347 def filter_greater_than_or_equal_to(value, condition: nil, another_type: nil) make_filter_query "greater_than_or_equal_to", value, condition: condition, another_type: another_type end |
#filter_less_than(value, condition: nil, another_type: nil) ⇒ NotionRubyMapping::Query
Returns generated Query object.
339 340 341 |
# File 'lib/notion_ruby_mapping/properties/property.rb', line 339 def filter_less_than(value, condition: nil, another_type: nil) make_filter_query "less_than", value, condition: condition, another_type: another_type end |
#filter_less_than_or_equal_to(value, condition: nil, another_type: nil) ⇒ NotionRubyMapping::Query
Returns generated Query object.
355 356 357 |
# File 'lib/notion_ruby_mapping/properties/property.rb', line 355 def filter_less_than_or_equal_to(value, condition: nil, another_type: nil) make_filter_query "less_than_or_equal_to", value, condition: condition, another_type: another_type end |