Trait indradb::VertexQueryExt
source · [−]pub trait VertexQueryExt: Into<VertexQuery> {
fn outbound(self) -> PipeEdgeQuery { ... }
fn inbound(self) -> PipeEdgeQuery { ... }
fn property<T: Into<Identifier>>(self, name: T) -> VertexPropertyQuery { ... }
fn with_property<T: Into<Identifier>>(
self,
name: T
) -> PipePropertyPresenceVertexQuery { ... }
fn without_property<T: Into<Identifier>>(
self,
name: T
) -> PipePropertyPresenceVertexQuery { ... }
fn with_property_equal_to<T: Into<Identifier>>(
self,
name: T,
value: Value
) -> PipePropertyValueVertexQuery { ... }
fn with_property_not_equal_to<T: Into<Identifier>>(
self,
name: T,
value: Value
) -> PipePropertyValueVertexQuery { ... }
}
Expand description
Extension trait with methods available in all vertex queries.
Provided Methods
fn outbound(self) -> PipeEdgeQuery
fn outbound(self) -> PipeEdgeQuery
Gets the outbound edges associated with the vertices.
fn inbound(self) -> PipeEdgeQuery
fn inbound(self) -> PipeEdgeQuery
Gets the inbound edges associated with the vertices.
fn property<T: Into<Identifier>>(self, name: T) -> VertexPropertyQuery
fn property<T: Into<Identifier>>(self, name: T) -> VertexPropertyQuery
fn with_property<T: Into<Identifier>>(
self,
name: T
) -> PipePropertyPresenceVertexQuery
fn with_property<T: Into<Identifier>>(
self,
name: T
) -> PipePropertyPresenceVertexQuery
fn without_property<T: Into<Identifier>>(
self,
name: T
) -> PipePropertyPresenceVertexQuery
fn without_property<T: Into<Identifier>>(
self,
name: T
) -> PipePropertyPresenceVertexQuery
fn with_property_equal_to<T: Into<Identifier>>(
self,
name: T,
value: Value
) -> PipePropertyValueVertexQuery
fn with_property_equal_to<T: Into<Identifier>>(
self,
name: T,
value: Value
) -> PipePropertyValueVertexQuery
Gets vertices with a property equal to a given value.
Arguments
name
: The name of the property.value
: The value of the property.
fn with_property_not_equal_to<T: Into<Identifier>>(
self,
name: T,
value: Value
) -> PipePropertyValueVertexQuery
fn with_property_not_equal_to<T: Into<Identifier>>(
self,
name: T,
value: Value
) -> PipePropertyValueVertexQuery
Gets vertices with a property not equal to a given value.
Arguments
name
: The name of the property.value
: The value of the property.