pub struct ViewCheck {
pub query: Box<Query>,
pub views: Vec<String>,
}Expand description
The WithCheckOption items of the kind WCO_VIEW_CHECK of a write, which ExecWithCheckOptions checks after the write of each row, before RETURNING.
Fields§
§query: Box<Query>The query of the checks. It reads one relation, a row that the statement wrote with the columns of the table, and gives the condition of each view in the order of ViewCheck::views.
views: Vec<String>The names of the views, the inner view first, as rewriteTargetView puts each new check at the start of the list.
Trait Implementations§
impl StructuralPartialEq for ViewCheck
Auto Trait Implementations§
impl Freeze for ViewCheck
impl RefUnwindSafe for ViewCheck
impl Send for ViewCheck
impl Sync for ViewCheck
impl Unpin for ViewCheck
impl UnsafeUnpin for ViewCheck
impl UnwindSafe for ViewCheck
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