teo_runtime/database/postgres/
type.rs

1use serde::Serialize;
2
3#[derive(Debug, Serialize, Clone, PartialEq, Eq, Hash)]
4pub enum PostgreSQLType {
5    Text,
6    Char(i32),
7    VarChar(i32),
8    Bit(i32),
9    VarBit,
10    UUID,
11    Xml,
12    Inet,
13    Boolean,
14    Integer,
15    SmallInt,
16    Int,
17    BigInt,
18    Oid,
19    DoublePrecision,
20    Real,
21    Decimal(i32, i32),
22    Money,
23    Date,
24    Timestamp(i32, bool),
25    Time(bool),
26    Json,
27    JsonB,
28    ByteA,
29    Array(Box<PostgreSQLType>),
30}