Tutorial: Demo Project
Learn how to build a simple note-taking app with ObjectBox.
git clone https://github.com/objectbox/objectbox-examples.git
cd objectbox-examples/android-appgit clone https://github.com/objectbox/objectbox-examples.git
cd objectbox-examples/android-app-kotlingit clone https://github.com/objectbox/objectbox-dart.git
cd objectbox-dart/objectbox/examples/flutter/objectbox_demogit clone https://github.com/objectbox/objectbox-python.git
cd objectbox-pythonThe Note entity and Box class
@Entity
public class Note {
@Id
long id;
String text;
String comment;
Date date;
...
}@Entity
data class Note(
@Id var id: Long = 0,
var text: String? = null,
var comment: String? = null,
var date: Date? = null
)@Entity()
class Note {
int id;
String text;
String? comment;
DateTime date;
...
}Inserting notes
Removing/deleting notes
Querying notes
Updating notes and more
Setting up the database
Getting StartedLast updated
Was this helpful?