pub struct CreateMaterializedView {
pub if_not_exists: bool,
pub name: FQName,
pub columns: Vec<Identifier>,
pub table: FQName,
pub where_clause: Vec<RelationElement>,
pub key: PrimaryKey,
pub with_clause: Vec<WithItem>,
}Expand description
the data to create a materialized view
Fields
if_not_exists: boolonly create if it does not exist.
name: FQNamethe name of the materialized view.
columns: Vec<Identifier>the columns in the view.
table: FQNamethe table to extract the view from.
where_clause: Vec<RelationElement>the where clause to select. Note: all elements of the primary key must be listed
in the where clause as column ISNOT NULL
key: PrimaryKeythe primary key for the view
with_clause: Vec<WithItem>the with options.
Trait Implementations
sourceimpl Clone for CreateMaterializedView
impl Clone for CreateMaterializedView
sourcefn clone(&self) -> CreateMaterializedView
fn clone(&self) -> CreateMaterializedView
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for CreateMaterializedView
impl Debug for CreateMaterializedView
sourceimpl Display for CreateMaterializedView
impl Display for CreateMaterializedView
sourceimpl PartialEq<CreateMaterializedView> for CreateMaterializedView
impl PartialEq<CreateMaterializedView> for CreateMaterializedView
sourcefn eq(&self, other: &CreateMaterializedView) -> bool
fn eq(&self, other: &CreateMaterializedView) -> bool
impl StructuralPartialEq for CreateMaterializedView
Auto Trait Implementations
impl RefUnwindSafe for CreateMaterializedView
impl Send for CreateMaterializedView
impl Sync for CreateMaterializedView
impl Unpin for CreateMaterializedView
impl UnwindSafe for CreateMaterializedView
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more