Value

Value attribute is used in enum field. It takes value of the EdgeDB enum variant.

#[value()]

Usage

    enum Gender {
        #[value("man")] Male,
        #[value("woman")] Female
    }