Skip to main content

ColumnComments

Trait ColumnComments 

Source
pub trait ColumnComments: Schema {
    // Required method
    fn comment_on_column(
        &self,
        table: &str,
        column: &str,
        comment: &str,
    ) -> Result<Statement>;
}
Expand description

Column comments as separate statements.

PHP: Schema\Feature\ColumnComments.

Required Methods§

Source

fn comment_on_column( &self, table: &str, column: &str, comment: &str, ) -> Result<Statement>

Sets the comment of column of table.

PHP: commentOnColumn().

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§