We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a05a07 commit 22438f4Copy full SHA for 22438f4
README.md
@@ -43,12 +43,15 @@ Feature Highlights
43
What does using ObjectBox in Python look like?
44
45
```python
46
-import objectbox
+from objectbox import *
47
48
-# from mypackage.model import Person
+@Entity()
49
+class Person:
50
+ id = Id
51
+ name = String
52
53
# The ObjectBox Store represents a database; keep it around...
-store = objectbox.Store(model=model)
54
+store = Store()
55
56
# Get a box for the "Person" entity; a Box is the main interaction point with objects and the database.
57
box = store.box(Person)
0 commit comments