我如何在 android 中的 SQLite 中的 table 开头插入一行
how do i insert a line at the start of the table in SQLite in android
我想在 Android 中 table 的开头插入一条记录。我该怎么做?我知道 insert
查询插入在 table 的末尾。我目前是这样使用它的:
SQLiteDatabase writableDb;
long rowID = writableDb.insert(tableName, null, ContentValues);
我也不想使用 ORDER BY
选项。
还有其他方法吗?
看起来除了使用 ORDER BY 别无选择。我现在正在使用 ORDER BY
我想在 Android 中 table 的开头插入一条记录。我该怎么做?我知道 insert
查询插入在 table 的末尾。我目前是这样使用它的:
SQLiteDatabase writableDb;
long rowID = writableDb.insert(tableName, null, ContentValues);
我也不想使用 ORDER BY
选项。
还有其他方法吗?
看起来除了使用 ORDER BY 别无选择。我现在正在使用 ORDER BY