Expand description
GraphqlOperation — typed comparison/logical operators that produce
GraphqlCondition. Blanket-implemented over all Expressive<T>, so
typed columns get .eq()/.gt()/.in_()/… for free.
ⓘ
use vantage_api_client::graphql::operation::GraphqlOperation;
use vantage_table::column::core::Column;
let mission = Column::<String>::new("mission_name");
let cond = mission.eq("FalconSat");
// GraphqlCondition::Field { field: "mission_name", op: Eq, value: "FalconSat" }The same pattern as vantage-mongodb’s MongoOperation. Field name
is pulled from self.expr().template, which works for typed
Column<T> (the column name comes out verbatim). Complex
expressions land their rendered template as the field, which is
rarely what you want — keep operands simple.
Traits§
- Graphql
Operation - GraphQL operators that produce a
GraphqlCondition.