-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UPDATE a BLOB field in an existing SQLite record,floor change it to String #652
Comments
Please double it check. For me, following configuration works fine:
generates next code:
|
Close due to lack of answer from the creator of the question. Looks like the question might be solved by the suggestion in the comment. |
after updateTaskExt,try to read it, then will throw error. |
Hey @HXiaoMing PS: this issue brings me an idea that |
Closing: Inactive |
the entity is:
@entity(tableName: 'Task')
class Task {
final Uint8List ext;
Task(this.ext);
}
the dao is :
@dao
abstract class TaskDao {
@query('update Task set ext = :ext')
Future updateTaskExt(Uint8List ext);
}
i want to update column ext, ext type is Uint8List,database type is blob,after execute TaskDao method updateTaskExt,ext value change to String!!!
The text was updated successfully, but these errors were encountered: