[][src]Function spatialite_sys::remove_duplicated_rows_ex2

pub unsafe extern "C" fn remove_duplicated_rows_ex2(
    sqlite: *mut sqlite3,
    table: *mut c_char,
    removed: *mut c_int,
    transaction: c_int
)

Remove duplicated rows from a table

\param sqlite handle to current DB connection \param table name of the table to be cleaned \param removed on successful completion will contain the total count of removed duplicate rows \param transaction boolena; if set to TRUE will internally handle a SQL Transaction

\sa check_duplicated_rows, remove_duplicated_rows

\note when two (or more) duplicated rows exist, only the first occurence will be preserved, then deleting any further occurrence.