We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44721d9 commit 629c330Copy full SHA for 629c330
README.md
@@ -79,7 +79,9 @@ ob = objectbox.Builder().model(model).directory("db").build()
79
# Open the box of "Person" entity. This can be called many times but you can also pass the variable around
80
box = objectbox.Box(ob, Person)
81
82
-id = box.put(Person(name="Joe Green")) # Create
+person = Person()
83
+person.name = "Joe Green"
84
+id = box.put(person) # Create
85
person = box.get(id) # Read
86
person.name = "Joe Black"
87
box.put(person) # Update
0 commit comments