Java Code Examples for com.socks.greendao.JokeCacheDao#dropTable()

The following examples show how to use com.socks.greendao.JokeCacheDao#dropTable() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: DaoMaster.java    From JianDan_OkHttpWithVolley with Apache License 2.0 5 votes vote down vote up
/** Drops underlying database table using DAOs. */
public static void dropAllTables(SQLiteDatabase db, boolean ifExists) {
    JokeCacheDao.dropTable(db, ifExists);
    FreshNewsCacheDao.dropTable(db, ifExists);
    PictureCacheDao.dropTable(db, ifExists);
    SisterCacheDao.dropTable(db, ifExists);
    VideoCacheDao.dropTable(db, ifExists);
}
 
Example 2
Source File: DaoMaster.java    From JianDan with Apache License 2.0 5 votes vote down vote up
/** Drops underlying database table using DAOs. */
public static void dropAllTables(SQLiteDatabase db, boolean ifExists) {
    JokeCacheDao.dropTable(db, ifExists);
    FreshNewsCacheDao.dropTable(db, ifExists);
    PictureCacheDao.dropTable(db, ifExists);
    SisterCacheDao.dropTable(db, ifExists);
    VideoCacheDao.dropTable(db, ifExists);
}
 
Example 3
Source File: DaoMaster.java    From JianDanRxJava with Apache License 2.0 5 votes vote down vote up
/** Drops underlying database table using DAOs. */
public static void dropAllTables(SQLiteDatabase db, boolean ifExists) {
    JokeCacheDao.dropTable(db, ifExists);
    FreshNewsCacheDao.dropTable(db, ifExists);
    PictureCacheDao.dropTable(db, ifExists);
    SisterCacheDao.dropTable(db, ifExists);
    VideoCacheDao.dropTable(db, ifExists);
}
 
Example 4
Source File: DaoMaster.java    From JianDan_OkHttp with Apache License 2.0 5 votes vote down vote up
/** Drops underlying database table using DAOs. */
public static void dropAllTables(SQLiteDatabase db, boolean ifExists) {
    JokeCacheDao.dropTable(db, ifExists);
    FreshNewsCacheDao.dropTable(db, ifExists);
    PictureCacheDao.dropTable(db, ifExists);
    SisterCacheDao.dropTable(db, ifExists);
    VideoCacheDao.dropTable(db, ifExists);
}