Skip to content

Commit cd38580

Browse files
authored
Update README.md
1 parent b9175a9 commit cd38580

File tree

1 file changed

+1
-29
lines changed

1 file changed

+1
-29
lines changed

README.md

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -52,25 +52,9 @@ The database expects a list of entities to be registered with it
5252
Sales::class
5353
]
5454
)
55-
/**
56-
*
57-
*/
5855
abstract class AppDatabase : PromiseDatabase {
59-
60-
61-
/**
62-
*
63-
*/
6456
private val personsTable: FastTable<Person> by lazy { tableOf(Person::class.java) }
65-
66-
/**
67-
*
68-
*/
6957
private val dogsTable: FastTable<Dog> by lazy { tableOf(Dog::class.java) }
70-
71-
/**
72-
*
73-
*/
7458
fun listAllPersons() = personsTable.findAll()
7559

7660
fun listAllPersonsWithEmail(): List<Person> {
@@ -83,22 +67,11 @@ abstract class AppDatabase : PromiseDatabase {
8367

8468
return persons
8569
}
86-
87-
/**
88-
*
89-
*/
9070
fun listAllDogs() = dogsTable.findAll()
91-
92-
// /**
93-
// *
94-
// */
9571
// @OneToMany(parent = Person::class, child = Dog::class)
9672
// @FindAll
9773
// abstract fun getPersonsWithDogs(array: Array<Column<*>>?): List<Person>
98-
//
99-
// /**
100-
// *
101-
// */
74+
10275
// @OneToOne(parent = Dog::class, child = Person::class)
10376
// @FindAll
10477
// abstract fun getDogsWithPersons(array: Array<Column<*>>?): List<Dog>
@@ -199,7 +172,6 @@ Adding columns to an existing entity, annotate the new field with Migrate, a mig
199172
## Setup
200173
##### build.gradle
201174
```
202-
203175
allprojects {
204176
repositories {
205177
...

0 commit comments

Comments
 (0)