Module: NotionRubyMapping::StartsWithEndsWith
- Included in:
- EmailProperty, FormulaProperty, PhoneNumberProperty, RollupProperty, TextProperty, UrlProperty
- 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_ends_with(value, condition: nil, another_type: nil) ⇒ NotionRubyMapping::Query
Generated Query object.
-
#filter_starts_with(value, condition: nil, another_type: nil) ⇒ NotionRubyMapping::Query
Generated Query object.
Instance Method Details
#filter_ends_with(value, condition: nil, another_type: nil) ⇒ NotionRubyMapping::Query
Returns generated Query object.
319 320 321 |
# File 'lib/notion_ruby_mapping/properties/property.rb', line 319 def filter_ends_with(value, condition: nil, another_type: nil) make_filter_query "ends_with", value, condition: condition, another_type: another_type end |
#filter_starts_with(value, condition: nil, another_type: nil) ⇒ NotionRubyMapping::Query
Returns generated Query object.
311 312 313 |
# File 'lib/notion_ruby_mapping/properties/property.rb', line 311 def filter_starts_with(value, condition: nil, another_type: nil) make_filter_query "starts_with", value, condition: condition, another_type: another_type end |