We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In iOS it is possible to modify managedObject like this: mo.setValue(obj, forKey: "someAttribute")
mo.setValue(obj, forKey: "someAttribute")
Is it possible pass argument i.e. string and not class, pass argument without static type-check?
Or only by passing class as argument? Task task1 = objCtx.newObject(Task.class);
Task task1 = objCtx.newObject(Task.class);
http://stackoverflow.com/questions/40890602/get-dao-with-weak-typing-in-ormlite
The text was updated successfully, but these errors were encountered:
Yes, it's possible. Each ManagedObject object exposes setValue and getValue. For example:
ManagedObject
setValue
getValue
task1.setValue("name", "the task's name")
Note that the schema for the ManagedObject must define the field.
Sorry, something went wrong.
No branches or pull requests
In iOS it is possible to modify managedObject like this:
mo.setValue(obj, forKey: "someAttribute")
Is it possible pass argument i.e. string and not class, pass argument without static type-check?
Or only by passing class as argument?
Task task1 = objCtx.newObject(Task.class);
http://stackoverflow.com/questions/40890602/get-dao-with-weak-typing-in-ormlite
The text was updated successfully, but these errors were encountered: