Module traits

Source
Expand description

traits underlying the implementation of SQL functionalities. What some other crates call prelude

Enums§

Flavor
Enum to advise on the SQL flavor supported by the connection.
Param
Value

Traits§

AsStatement
Connection
Generic trait to be implemented by SQL drivers (or proxy to SQL drivers). This trait is used to provide the basis of the functionalities on which the crate rely
CreateTable
Delete
DeleteFlavoredStatement
DeleteStatement
ExecuteTrait
Generic trait to be implemented by SQL drivers (or more likely by proxy to SQL drivers) so that the functionalities provided by this crate can be leveraged
Filter
Trait to be implemented for filtering. Returns the contents of a WHERE clause.
FlavoredFilter
Trait to be implemented for filtering. Returns the contents of a WHERE clause.
FlavoredOrder
Order trait to specify ordering clause
Insert
InsertFlavoredStatement
InsertMultiple
InsertStatement
IsSelect
Order
Order trait to specify ordering clause
Params
QueryTrait
Generic trait to be implemented by SQL drivers (or more likely by proxy to SQL drivers) so that the functionalities provided by this crate can be leveraged
Row
Return a row of results that can be queried to be converted into objects
Select
SelectFlavoredStatement
SelectStatement
SelectV2
Table
Trait to manage table - create, check if exists, and drop
TableFlavoredStatement
Specify table handling statement using the SQL Flavor
TableStatement
[Deprecated] Specify table handling SQL statement
ToParam
TryFromRefRow
Trait to be implemented to allow a Row to be converted into an object
Update
UpdateFlavoredStatement
UpdateStatement