Inserts a new entity in the table.
Removes an entity from the table.
Removes an entity from the table using its primary key(s).
Selects and entity using the entity's primary key(s).
Selects every entity in the table.
Updates an existing entity's fields.
@Entity("example") class Example { @PrimaryKey Integer a; String b; } Example entity = new Example(); entity.b = "test"; repository.insert(entity); assert(repository.select(entity.a).b == "test");
Generates an interface with methods for creating, reading, updating and deleting the given entity.