Crate query_connector

source ·

Modules

Structs

  • Wrapper struct to force a bit of a reflection whether or not the string passed to the write arguments is the data source field name, not the model field name. Also helps to avoid errors with convenient from-field conversions.
  • A wrapper struct allowing to either filter for records or for the core to communicate already known record selectors to connectors.
  • WriteArgs represent data to be written to an underlying data source.

Enums

  • Result of an aggregation operation on a model or field. A Field return type is only interesting for aggregations involving group bys, as they return field values alongside group aggregates.
  • Selections for aggregation queries.
  • When we write a single record using this update_records function, we always want the id of the changed record back. Even if the row wasn’t updated. This can happen in situations where we could increment a null value and the update count would be zero for mysql. However when we updating any records we want to return an empty array if zero items were updated
  • A WriteExpression allows to express more complex operations on how the data is written, like field or inter-field arithmetic.

Traits

Functions

Type Aliases