mqus

Results 99 comments of mqus

> I like it. But just FYI, as it stands, you can completely write custom query/raw sql. Just add this to your DAO, similar to what I wrote above. I...

Floor currently doesn't support this. I'm not sure of the implications (e.g. floor currently doesn't use setters at all) but I think this is worth looking into. On the other...

e.g. ```dart @dao abstract class MyObjectDAO { @Insert() Future create(MyObject object); Future createWithId(MyObject object) async { object.id = await create(object); } } ```

This is not possible right now because floor does not look at the queries to derive the type and also can't output arbitrary types. This will be adressed in #94...

Did #326 change any of this for the desktop platforms? I don't think this will change soon for Android/iOS or that we can do anything about it (other than maybe...

I'm not sure on the specifics yet (e.g. where to configure that) but this seems like a reasonable feature. But I have to mention that we will probably only have...

Joins as a feature can be achieved through multiple means: - through `@Relation` (#47) - through returning arbitrary objects in `@Query`s (#94) - through assembling views for the returned objects...

Would it be possible to solve this problem with inheritance, e.g. `TaskDao extends AttachmentDao` ? I know you can't inject multiple daos like this but coding this might be difficult,...

@ErliSoares altered the generated code and added a reference to the database in the constructor of the DAO (`Persistence` should be the class annotated with `@Database(...)`, i think you can...

Just linking some related (but not the same) issue: #340 (DAO independent transactions)