pub fn bind_sql_columns(
column_defs: &[ColumnDef],
) -> Result<Vec<ColumnCatalog>, RwError>
Expand description
Binds the column schemas declared in CREATE statement into ColumnDesc
.
If a column is marked as primary key
, its ColumnId
is also returned.
This primary key is not combined with table constraints yet.