Module: NotionRubyMapping::IsEmptyIsNotEmpty
- Included in:
- DateBaseProperty, EmailProperty, FilesProperty, MultiProperty, NumberProperty, PhoneNumberProperty, SelectProperty, StatusProperty, TextProperty, UniqueIdProperty, UrlProperty
- Defined in:
- lib/notion_ruby_mapping/properties/property.rb
Overview
module for make query of is_empty and is_not_empty
Instance Method Summary collapse
-
#filter_is_empty(condition: nil, another_type: nil) ⇒ NotionRubyMapping::Query
Generated Query object.
-
#filter_is_not_empty(condition: nil, another_type: nil) ⇒ NotionRubyMapping::Query
Generated Query object.
Instance Method Details
#filter_is_empty(condition: nil, another_type: nil) ⇒ NotionRubyMapping::Query
Returns generated Query object.
332 333 334 |
# File 'lib/notion_ruby_mapping/properties/property.rb', line 332 def filter_is_empty(condition: nil, another_type: nil) make_filter_query "is_empty", true, condition: condition, another_type: another_type end |
#filter_is_not_empty(condition: nil, another_type: nil) ⇒ NotionRubyMapping::Query
Returns generated Query object.
340 341 342 |
# File 'lib/notion_ruby_mapping/properties/property.rb', line 340 def filter_is_not_empty(condition: nil, another_type: nil) make_filter_query "is_not_empty", true, condition: condition, another_type: another_type end |