Available on crate feature
postgres_backend
only.Expand description
PostgreSQL specific SQL types
Note: All types in this module can be accessed through diesel::sql_types
Structs§
- Array
- The
Array
SQL type. - CChar
- The
"char"
SQL type. This is a PostgreSQL specific type. Used for e.g. setweight. Do not use in user tables. - Cidr
- The
CIDR
SQL type. This type can only be used withfeature = "network-address"
orfeature = "ipnet-address"
. - Citext
- The
Citext
SQL type. This is a PostgreSQL specific type. - Inet
- The
INET
SQL type. This type can only be used withfeature = "network-address"
orfeature = "ipnet-address"
. - Jsonb
- The
jsonb
SQL type. This type can only be used withfeature = "serde_json"
- MacAddr
- The
MACADDR
SQL type. - Money
- The PostgreSQL Money type.
- Oid
- The
OID
SQL type. This is a PostgreSQL specific type. - Range
- The
Range
SQL 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
UUID
SQL type. This type can only be used withfeature = "uuid"