pub enum PipelineStage {
Show 24 variants
Match,
Group,
Project,
Sort,
Skip,
Limit,
Lookup,
GraphLookup,
Facet,
Bucket,
BucketAuto,
SetWindowFields,
Search,
SearchMeta,
VectorSearch,
Sample,
Text,
Unwind,
AddFields,
ReplaceRoot,
UnionWith,
Unset,
Merge,
Out,
}Expand description
An aggregation pipeline stage (and the $text operator).
PHP: Utopia\Query\Builder\MongoDB\PipelineStage.
Variants§
Match
$match.
Group
$group.
Project
$project.
Sort
$sort.
Skip
$skip.
Limit
$limit.
Lookup
$lookup.
GraphLookup
$graphLookup.
Facet
$facet.
Bucket
$bucket.
BucketAuto
$bucketAuto.
SetWindowFields
$setWindowFields.
Search
$search (Atlas).
SearchMeta
$searchMeta (Atlas).
VectorSearch
$vectorSearch (Atlas).
Sample
$sample.
Text
$text.
Unwind
$unwind.
AddFields
$addFields.
ReplaceRoot
$replaceRoot.
UnionWith
$unionWith.
Unset
$unset.
Merge
$merge.
Out
$out.
Implementations§
Source§impl PipelineStage
impl PipelineStage
Sourcepub const CASES: &'static [PipelineStage]
pub const CASES: &'static [PipelineStage]
Every case, in declaration order.
PHP: cases().
Sourcepub const PHP_CLASS: &'static str = "Utopia\\Query\\Builder\\MongoDB\\PipelineStage"
pub const PHP_CLASS: &'static str = "Utopia\\Query\\Builder\\MongoDB\\PipelineStage"
The PHP class of this enumeration.
Sourcepub fn try_from_value(value: &str) -> Option<Self>
pub fn try_from_value(value: &str) -> Option<Self>
The case with backing value value, if any.
PHP: tryFrom().
Sourcepub fn from_value(value: &str) -> Result<Self, Error>
pub fn from_value(value: &str) -> Result<Self, Error>
The case with backing value value.
PHP: from(), which throws ValueError (Error::InvalidValue) with the same message.
Trait Implementations§
Source§impl Clone for PipelineStage
impl Clone for PipelineStage
impl Copy for PipelineStage
Source§impl Debug for PipelineStage
impl Debug for PipelineStage
Source§impl Display for PipelineStage
impl Display for PipelineStage
impl Eq for PipelineStage
Source§impl Hash for PipelineStage
impl Hash for PipelineStage
Source§impl PartialEq for PipelineStage
impl PartialEq for PipelineStage
impl StructuralPartialEq for PipelineStage
Auto Trait Implementations§
impl Forget for PipelineStage
impl Freeze for PipelineStage
impl Move for PipelineStage
impl RefUnwindSafe for PipelineStage
impl Send for PipelineStage
impl Sync for PipelineStage
impl Unpin for PipelineStage
impl UnsafeUnpin for PipelineStage
impl UnwindSafe for PipelineStage
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.