pub struct ProcedureMigration;Expand description
Stored procedure-specific migration operations
Implementations§
Source§impl ProcedureMigration
impl ProcedureMigration
Sourcepub fn create_function(function: &StoredFunction) -> Migration
pub fn create_function(function: &StoredFunction) -> Migration
Create a migration for adding a stored function
Sourcepub fn drop_function(function: &StoredFunction) -> Migration
pub fn drop_function(function: &StoredFunction) -> Migration
Create a migration for dropping a stored function
Sourcepub fn modify_function(
old_function: &StoredFunction,
new_function: &StoredFunction,
) -> Migration
pub fn modify_function( old_function: &StoredFunction, new_function: &StoredFunction, ) -> Migration
Create a migration for modifying a stored function
Sourcepub fn create_procedure(procedure: &StoredProcedure) -> Migration
pub fn create_procedure(procedure: &StoredProcedure) -> Migration
Create a migration for adding a stored procedure
Sourcepub fn drop_procedure(procedure: &StoredProcedure) -> Migration
pub fn drop_procedure(procedure: &StoredProcedure) -> Migration
Create a migration for dropping a stored procedure
Sourcepub fn modify_procedure(
old_procedure: &StoredProcedure,
new_procedure: &StoredProcedure,
) -> Migration
pub fn modify_procedure( old_procedure: &StoredProcedure, new_procedure: &StoredProcedure, ) -> Migration
Create a migration for modifying a stored procedure
Sourcepub fn batch_procedure_operations(
operations: Vec<ProcedureOperation>,
) -> Migration
pub fn batch_procedure_operations( operations: Vec<ProcedureOperation>, ) -> Migration
Create a batch migration for multiple procedure operations
Auto Trait Implementations§
impl Freeze for ProcedureMigration
impl RefUnwindSafe for ProcedureMigration
impl Send for ProcedureMigration
impl Sync for ProcedureMigration
impl Unpin for ProcedureMigration
impl UnsafeUnpin for ProcedureMigration
impl UnwindSafe for ProcedureMigration
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
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more