main v0.2.0
HerrHase 4 months ago
parent 874ba901ac
commit 7eb13bf0d0

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

Loading…
Cancel
Save