Module: NotionRubyMapping::IsEmptyIsNotEmpty
- Included in:
- DateBaseProperty, EmailProperty, FilesProperty, MultiProperty, MultiSelectProperty, NumberProperty, PhoneNumberProperty, SelectProperty, TextProperty, UrlProperty
- Defined in:
- lib/notion_ruby_mapping/property.rb
Overview
module for make query of is_empty and is_not_empty
Instance Method Summary collapse
-
#filter_is_empty(rollup = nil, rollup_type = nil) ⇒ NotionRubyMapping::Query
Generated Query object.
-
#filter_is_not_empty(rollup = nil, rollup_type = nil) ⇒ NotionRubyMapping::Query
Generated Query object.
Instance Method Details
#filter_is_empty(rollup = nil, rollup_type = nil) ⇒ NotionRubyMapping::Query
Returns generated Query object.
132 133 134 |
# File 'lib/notion_ruby_mapping/property.rb', line 132 def filter_is_empty(rollup = nil, rollup_type = nil) make_filter_query "is_empty", true, rollup, rollup_type end |
#filter_is_not_empty(rollup = nil, rollup_type = nil) ⇒ NotionRubyMapping::Query
Returns generated Query object.
137 138 139 |
# File 'lib/notion_ruby_mapping/property.rb', line 137 def filter_is_not_empty(rollup = nil, rollup_type = nil) make_filter_query "is_not_empty", true, rollup, rollup_type end |