Enum sqlparser::ast::SequenceOptions
source · pub enum SequenceOptions {
IncrementBy(Expr, bool),
MinValue(MinMaxValue),
MaxValue(MinMaxValue),
StartWith(Expr, bool),
Cache(Expr),
Cycle(bool),
}Expand description
Can use to describe options in create sequence or table column type identity [ INCREMENT [ BY ] increment ] [ MINVALUE minvalue | NO MINVALUE ] [ MAXVALUE maxvalue | NO MAXVALUE ] [ START [ WITH ] start ] [ CACHE cache ] [ [ NO ] CYCLE ]
Variants§
IncrementBy(Expr, bool)
MinValue(MinMaxValue)
MaxValue(MinMaxValue)
StartWith(Expr, bool)
Cache(Expr)
Cycle(bool)
Trait Implementations§
source§impl Clone for SequenceOptions
impl Clone for SequenceOptions
source§fn clone(&self) -> SequenceOptions
fn clone(&self) -> SequenceOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more