Expand description
PostgreSQL specific SQL types
Note: All types in this module can be accessed through diesel::sql_types
Structs§
- Array
- The
ArraySQL type. - Cidr
- The
CIDRSQL type. This type can only be used withfeature = "network-address" - Inet
- The
INETSQL type. This type can only be used withfeature = "network-address" - Json
- The JSON SQL type. This type can only be used with
feature = "serde_json" - Jsonb
- The
jsonbSQL type. This type can only be used withfeature = "serde_json" - MacAddr
- The
MACADDRSQL type. This type can only be used withfeature = "network-address" - Money
- The PostgreSQL Money type.
- Oid
- The
OIDSQL type. This is a PostgreSQL specific type. - Range
- The
RangeSQL type. - Record
- The
Record(a.k.a. tuple) SQL type. - Timestamptz
- The “timestamp with time zone” SQL type, which PostgreSQL abbreviates
to
timestamptz. - Uuid
- The
UUIDSQL type. This type can only be used withfeature = "uuid"
Type Aliases§
- BigSerial
- Alias for
BigInt - Serial
- Alias for
Integer - Small
Serial - Alias for
SmallInt