searchMeta constant

Var const searchMeta

A variable that stores the metadata results of an Atlas Search query. In all supported aggregation pipeline stages, a field set to the variable $$SEARCH_META returns the metadata results for the query.

Implementation

static const searchMeta = Var('SEARC_META');