pub async fn fetch_columns(
db: &MySqlPool,
schema_name: Ident,
table_name: Ident,
) -> Result<Vec<ColumnEntry>>
Expand description
Returns all ColumnEntry of the table_name
from information_schema
.
pub async fn fetch_columns(
db: &MySqlPool,
schema_name: Ident,
table_name: Ident,
) -> Result<Vec<ColumnEntry>>
Returns all ColumnEntry of the table_name
from information_schema
.