Crate deuterium [] [src]

Re-exports

pub use sql::SqlContext;
pub use sql::ToSql;
pub use sql::QueryToSql;
pub use sql::FromToSql;
pub use sql::ToPredicateValue;
pub use sql::AsPostgresValue;

Modules

sql

Macros

insert
to_predicate_for_field

Structs

AndPredicate
Avg
Count
CountAll
DeleteQuery
ExcludePredicate
FieldUpdate
InPredicate
InRangePredicate
InequalityPredicate
InsertQuery
IsNullPredicate
IsPredicate
LikePredicate
LimitMany
LimitOne
LimitTwo
Max
Min
NamedField
NoResult
OrPredicate
Placeholder
RawExpression

Non-checking expression with any content you want.

RawPredicate
SelectQuery
Sum
TableDef
UpdateQuery

Enums

InRangeBounds
Inequality
InsertValue
Select

Traits

AvgArg
CountArg
Deletable
Expression

Trait to indicate that value is an expression with concrete type.

Field
FieldUpd
From
Insertable
ListExpression

Trait to indicate that value is a LIST expression with concrete type.

MaxArg
MinArg
Orderable
Predicate
Queryable
Selectable
SumArg
Table
ToAndPredicate
ToExcludePredicate
ToExpression
ToFieldUpdate
ToInPredicate
ToInRangePredicate
ToInequalityPredicate
ToInsertValue
ToIsNullPredicate
ToIsPredicate
ToLikePredicate
ToListExpression
ToOrPredicate
ToSelectQuery
UntypedExpression

Intrernal trait for all expressions. Allows some useful casts.

Updatable

Type Definitions

BoolField
BoxedExpression
BoxedField
BoxedFrom
BoxedTable
ByteListField
F32Field
F64Field
I16Field
I32Field
I64Field
I8Field
JsonField
OptionalBoolField
OptionalByteListField
OptionalF32Field
OptionalF64Field
OptionalI16Field
OptionalI32Field
OptionalI64Field
OptionalI8Field
OptionalJsonField
OptionalStringField
OptionalTimespecField
OptionalUuidField
SharedExpression
SharedField
SharedFrom
SharedPredicate
SharedSelectQuery
SharedTable
StringField
TimespecField
UuidField