Module pg_worm::query

source ·
Expand description

This module contains the logic for building queries, as well as struct for representing columns.

Structs

  • This type represents a column.
  • A struct for building DELETE queries.
  • State representing that an UPDATE has been set.
  • A struct for storing a complete query along with parameters and output type.
  • A struct which holds the information needed to build a SELECT query.
  • State representing that an UDPATE has been set.
  • A basic chunk of SQL and it’s params.
  • A wrapper around the Column struct which includes the rust type of the field.
  • A struct for building UPDATE queries.

Enums

  • An enum representing the WHERE clause of a query.

Traits

  • Trait used to mark exectuable queries. It is used to make use of generics for executing them.
  • A trait implemented by everything that goes inside a query.
  • A trait implemented by query builders