pub trait SQLTableInfo:
Any
+ Send
+ Sync {
// Required methods
fn name(&self) -> &str;
fn columns(&self) -> Box<[&'static dyn SQLColumnInfo]>;
// Provided method
fn dependencies(&self) -> Box<[&'static dyn SQLTableInfo]> { ... }
}Required Methods§
Provided Methods§
Sourcefn dependencies(&self) -> Box<[&'static dyn SQLTableInfo]>
fn dependencies(&self) -> Box<[&'static dyn SQLTableInfo]>
Returns all tables this table depends on via foreign keys
Trait Implementations§
Source§impl Debug for dyn SQLTableInfo
impl Debug for dyn SQLTableInfo
Source§impl<'a, V: SQLParam> From<&'static dyn SQLTableInfo> for SQLChunk<'a, V>
impl<'a, V: SQLParam> From<&'static dyn SQLTableInfo> for SQLChunk<'a, V>
Source§fn from(value: &'static dyn SQLTableInfo) -> Self
fn from(value: &'static dyn SQLTableInfo) -> Self
Converts to this type from the input type.