pub struct DropMaterializedViewStatement { /* private fields */ }Expand description
DROP MATERIALIZED VIEW statement builder
This struct provides a fluent API for constructing DROP MATERIALIZED VIEW queries.
§Examples
ⓘ
use reinhardt_query::prelude::*;
// Drop single materialized view
let query = Query::drop_materialized_view()
.name("my_mv");
// Drop with IF EXISTS
let query = Query::drop_materialized_view()
.name("my_mv")
.if_exists();
// Drop with CASCADE
let query = Query::drop_materialized_view()
.name("my_mv")
.cascade();Implementations§
Source§impl DropMaterializedViewStatement
impl DropMaterializedViewStatement
Trait Implementations§
Source§impl Clone for DropMaterializedViewStatement
impl Clone for DropMaterializedViewStatement
Source§fn clone(&self) -> DropMaterializedViewStatement
fn clone(&self) -> DropMaterializedViewStatement
Returns a duplicate 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 moreSource§impl QueryStatementBuilder for DropMaterializedViewStatement
impl QueryStatementBuilder for DropMaterializedViewStatement
Source§fn build_any(&self, query_builder: &dyn QueryBuilderTrait) -> (String, Values)
fn build_any(&self, query_builder: &dyn QueryBuilderTrait) -> (String, Values)
Build SQL statement for a database backend and collect query parameters Read more
impl QueryStatementWriter for DropMaterializedViewStatement
Auto Trait Implementations§
impl Freeze for DropMaterializedViewStatement
impl !RefUnwindSafe for DropMaterializedViewStatement
impl !Send for DropMaterializedViewStatement
impl !Sync for DropMaterializedViewStatement
impl Unpin for DropMaterializedViewStatement
impl UnsafeUnpin for DropMaterializedViewStatement
impl !UnwindSafe for DropMaterializedViewStatement
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