Skip to content

Support more types #94

@barsdeveloper

Description

@barsdeveloper

Hello, do you plan to support more types like Float, Time, Date, Decimal, Map etc. Many modern databases support those types. Also the list of supported types seems very narrow I get the impression that it supports sort of minima common denominator, is the design to support DB specific types still in progress or there are no plans?

pub enum Value {
    /// Boolean value
    Bool(bool),

    /// Value of an enumerated type
    Enum(ValueEnum),

    /// Signed 64-bit integer
    I64(i64),

    /// A unique model identifier
    Id(Id),

    /// A typed record
    SparseRecord(SparseRecord),

    /// Null value
    #[default]
    Null,

    /// Record value, either borrowed or owned
    Record(ValueRecord),

    /// A list of values of the same type
    List(Vec<Value>),

    /// String value, either borrowed or owned
    String(String),
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions