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§
- The
Array
SQL type. - The
"char"
SQL type. This is a PostgreSQL specific type. Used for e.g. setweight. Do not use in user tables. - The
CIDR
SQL type. This type can only be used withfeature = "network-address"
orfeature = "ipnet-address"
. - The
Citext
SQL type. This is a PostgreSQL specific type. - The
INET
SQL type. This type can only be used withfeature = "network-address"
orfeature = "ipnet-address"
. - The
MACADDR
SQL type. - The PostgreSQL Money type.
- The
Multirange
SQL type. - The
OID
SQL type. This is a PostgreSQL specific type. - The
Range
SQL type. - This is a wrapper for
RangeBound
to represent range bounds: ‘[]’, ‘(]’, ‘[)’, ‘()’, used in functions int4range, int8range, numrange, tsrange, tstzrange, daterange. - The
Record
(a.k.a. tuple) SQL type. - The “timestamp with time zone” SQL type, which PostgreSQL abbreviates to
timestamptz
. - The
UUID
SQL type. This type can only be used withfeature = "uuid"
Enums§
- Represent postgres range bounds: ‘[]’, ‘(]’, ‘[)’, ‘()’, used in functions int4range, int8range, numrange, tsrange, tstzrange, daterange.