Module: NotionRubyMapping::IsEmptyIsNotEmpty

Overview

module for make query of is_empty and is_not_empty

Instance Method Summary collapse

Instance Method Details

#filter_is_empty(rollup = nil, rollup_type = nil) ⇒ NotionRubyMapping::Query

Returns generated Query object.

Returns:



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.

Returns:



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