Compare commits

..

1 Commits

Author SHA1 Message Date
HerrHase 7eb13bf0d0 adding
3 months ago

@ -32,8 +32,9 @@ This functions Reads SQL-Files from a Directory and execute them in the Sqlite.
### Store
Store is a Abstract Class to extend a Class for an Single Table. There
are no functions to validating Columns.
Store is a Abstract Class to extend a Class for an Single Table. Set the name
of the table in super(). There is no handling of columns or validating if the
exists.
```
class <store-name>Store extends Store {
@ -45,7 +46,7 @@ class <store-name>Store extends Store {
#### findOneById(id: integer)
Getting single row by Id.
Getting single row by id.
#### create(data: object)
@ -53,8 +54,8 @@ Create a new row in a Table.
#### update(id: integer, data: object)
Update single row by Id.
Update single row by id.
#### remove(id: integer)
Remove single row by Id.
Remove single row by id.

Loading…
Cancel
Save