floor
floor copied to clipboard
Couldnt make the primary key a combination of multiple columns.
@josmilan you can do it by specifying columns in the Entity annotation
@Entity(primaryKeys: ['id', 'name'])
class Person {
final int id;
final String name;
Person(this.id, this.name);
}