Drop an Index

Use dropIndex to drop an index from an MBO table located on the device database.

/**

@param entity the EntityMetaData for the table
@param name the name of the index
*/

public static void dropIndex(EntityMetaData entity, String name)

Example 1

SampleDB.closeDBConnetion();
SampleDB.dropIndex(SampleMBO.getMetaData(), "sampleIndex");
[Public comment]