Skip to main content

share_rows

Function share_rows 

Source
pub fn share_rows(
    target: &Connection,
    source: &Connection,
    tables: &[&str],
) -> Result<Vec<String>>
Expand description

Copy the rows of tables keeping their ids, for each table that is empty in target, and point Canvas.BrushStyleManager at the copied manager when the target has none. When brush styles are copied, the source’s Canvas.BrushStyleReadProtect070 comes with them. Returns the tables copied. Links out of the copied rows are left as they are (see ClipFile::prepare_copy_from for brush textures).