Skip to content
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

Support embedded objects #9

Open
vitusortner opened this issue Jan 26, 2019 · 3 comments · May be fixed by #328
Open

Support embedded objects #9

vitusortner opened this issue Jan 26, 2019 · 3 comments · May be fixed by #328
Labels
feature Request and implementation of a feature (release drafter)
Milestone

Comments

@vitusortner
Copy link
Collaborator

An entity should be able to hold nested objects. There are different strategies for the implementation of this. One is, to embed all fields of the nested object in the surrounding object table.

@vitusortner vitusortner modified the milestones: 2, Version 1.0 Feb 13, 2019
@vitusortner vitusortner added feature Request and implementation of a feature (release drafter) priority: high Do it as soon as possible and removed enhancement labels Mar 5, 2019
@ghost
Copy link

ghost commented Mar 14, 2019

Hola, de ante mano agradecer el gran trabajo que estás haciendo, en la librería room de Android siempre tuve un descontento y es que no se pudiera colocar usar variables solo para cargar dato de la consulta, ya que se debía colocar como un campo para que en la consulta lo tomará, esto es para el caso un join con otra tabla, no en todos los casos es necesario todo el objeto de otra clase, sería bueno que se agregara una opción al columnInfo que permita usar la variable para solo consulta.

@vitusortner
Copy link
Collaborator Author

Hi @willgsoft! I'm happy to see your interest in the library and would like to help. Unluckily, my Spanish skills are mediocre and Google Translate didn't help this time.

I think it would be beneficial for me and others to keep the conversation in English.

@vitusortner vitusortner removed the priority: high Do it as soon as possible label May 21, 2019
@hsul4n hsul4n linked a pull request May 12, 2020 that will close this issue
@mqus mqus linked a pull request May 13, 2020 that will close this issue
@purplegamba
Copy link

I've just run into an issue which I think relates to this. I have a "Day" entity, each of which has several "Temp" fields. The "Temp" object is a custom object which has 2 fields of its own - a double and a bool. I wrote a Type Converter so Floor will manage the Temp objects, but when I call an update method for a Day, the bool field of the Temp is not getting updated in the database. My theory is that the database does not recognize the change, as the Day still has the same Temp object - it doesn't "see" the change to the Temp object's property. I could be wrong though, I'm not sure I completely understand how Floor and Sql work. Any help would be appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Request and implementation of a feature (release drafter)
Development

Successfully merging a pull request may close this issue.

2 participants