Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

BLOB type: Field type not recognised: Uint8List! #196

Open
Skuallpa opened this issue Sep 10, 2020 · 0 comments
Open

BLOB type: Field type not recognised: Uint8List! #196

Skuallpa opened this issue Sep 10, 2020 · 0 comments

Comments

@Skuallpa
Copy link

Does jaguar_orm support creating field of type BLOB for SQFlite?

When trying to generate the bean using the following model

@Column()
Uint8List data;

I got the following error:

Field protobuffer has exception: Exception: Field type not recognised: Uint8List! #0 Field.vType (package:jaguar_orm_gen/src/model/model.dart:21:7)

From sqflite package, BLOB is a supported type which corresponds to Dart type: Uint8List.

I didn't find anything in the jaguar_query_sqflite package saying that this type is not supported.

Is there a specific annotation for type Uint8List?

Thanks in advance

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant