Skip to main content

TableComments

Trait TableComments 

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

Table comments.

PHP: Schema\Feature\TableComments.

Required Methods§

Source

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

Sets the comment of table.

PHP: commentOnTable().

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§