a
554325746@qq.com
2020-01-02 e52632329ef8342a2f692bf58184fc54db3d2b4c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package com.amitshekhar.sqlite;
 
import android.content.ContentValues;
import android.database.Cursor;
import android.database.SQLException;
 
 
/**
 * Created by anandgaurav on 12/02/18.
 */
 
public interface SQLiteDB {
 
    int delete(String table, String whereClause, String[] whereArgs);
 
    boolean isOpen();
 
    void close();
 
    Cursor rawQuery(String sql, String[] selectionArgs);
 
    void execSQL(String sql) throws SQLException;
 
    long insert(String table, String nullColumnHack, ContentValues values);
 
    int update(String table, ContentValues values, String whereClause, String[] whereArgs);
 
    int getVersion();
 
}