Skip to content
Siminov Framework edited this page Jan 10, 2016 · 8 revisions

Drop Index

Android API: Drop Index

    public void dropIndex(final String indexName) throws DatabaseException { }
Android Sample: Drop Index
    String indexName = "BOOK_INDEX_BASED_ON_AUTHOR";
	
    try {
        new Book().dropIndex(indexName);
    } catch(DatabaseException databaseException) {
		//Log It.
    }

iOS API: Drop Table

    - (void)dropIndex:(NSString *)indexName;
iOS Sample: Drop Table
    NSString *indexName = @"BOOK_INDEX_BASED_ON_AUTHOR";
	
    @try {
        [[[Book alloc] init] dropIndex:indexName];
    } @catch(SICDatabaseException *databaseException) {
		//Log It.
    }

Windows API: Drop Index

    public void DropIndex(String indexName) { }
Windows Sample: Drop Index
    String indexName = "BOOK_INDEX_BASED_ON_AUTHOR";
	
    try 
    {
        new Book().DropIndex(indexName);
    } 
    catch(DatabaseException databaseException) 
    {
		//Log It.
    }