[][src]Function spatialite_sys::gaiaDropTableEx

pub unsafe extern "C" fn gaiaDropTableEx(
    sqlite: *mut sqlite3,
    prefix: *const c_char,
    table: *const c_char
) -> c_int

Drops a layer-table, removing any related dependency

\param sqlite handle to current DB connection \param prefix schema prefix identifying the target DB\n "main" always identifies the main DB (primary, not Attached). \param table name of the table to be removed

\note this function will drop a SpatialTable, SpatialView or VirtualShape being properly registered within the Metadata tables. \n an eventual Spatial Index will be dropped as well, and any row referring the selected table will be removed from the Metadata tables.

\return 0 on failure, any other value on success

\sa gaiaDropTableEx2