pub fn bind_pk_and_row_id_on_relation(
columns: Vec<ColumnCatalog>,
pk_names: Vec<String>,
must_need_pk: bool,
) -> Result<(Vec<ColumnCatalog>, Vec<ColumnId>, Option<usize>), RwError>
Expand description
Binds primary keys defined in SQL.
It returns the columns together with pk_column_ids
, and an optional row id column index if
added.