pub struct Star {
pub table: Option<Identifier>,
pub except: Option<Vec<Identifier>>,
pub replace: Option<Vec<Alias>>,
pub rename: Option<Vec<(Identifier, Identifier)>>,
pub trailing_comments: Vec<String>,
}Expand description
Represent a wildcard star expression (*, table.*).
Supports the EXCEPT/EXCLUDE, REPLACE, and RENAME modifiers found in
DuckDB, BigQuery, and Snowflake (e.g. SELECT * EXCEPT (id) FROM t).
Fields§
§table: Option<Identifier>Optional table qualifier (e.g. t in t.*).
except: Option<Vec<Identifier>>EXCLUDE / EXCEPT columns (DuckDB, BigQuery, Snowflake)
replace: Option<Vec<Alias>>REPLACE expressions (BigQuery, Snowflake)
rename: Option<Vec<(Identifier, Identifier)>>RENAME columns (Snowflake)
trailing_comments: Vec<String>Trailing comments that appeared after the star
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Star
impl<'de> Deserialize<'de> for Star
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Star
Auto Trait Implementations§
impl Freeze for Star
impl RefUnwindSafe for Star
impl Send for Star
impl Sync for Star
impl Unpin for Star
impl UnwindSafe for Star
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more