Skip to content

Custom Row Class Example #3120

Answered by Blackstareye
Blackstareye asked this question in Q&A
Discussion options

You must be logged in to vote

Okay I analyzed it further and made an flutter example of it.

~~What works: ~~
* use CreationModels like Users
* use drift files without Rowclass models

what does not work:
* use drift files with WITH statement and custom rowclasses

Can somebody explain this or is this a bug ?

I think I found the error. It was a typo with birth_date.

AND about the path ...

I think it fixes it if I import the models in the database.dart file, cause database.g.dart is a part from it, right ?

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Blackstareye
Comment options

@simolus3
Comment options

@Blackstareye
Comment options

Answer selected by Blackstareye
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants