Method: Contentstack::Query#include_metadata
- Defined in:
- lib/contentstack/query.rb
#include_metadata(flag = true) ⇒ Contentstack::Query
Retrieve count and data of objects in result.
Example
@query = @stack.content_type('category').query
@query.
358 359 360 361 |
# File 'lib/contentstack/query.rb', line 358 def (flag=true) @query[:include_metadata] = flag self end |