External module "crud/data"
Functions
Const deleteData
- deleteData(table: string, conditions: KeyValue): Promise<Object>
-
Parameters
Returns Promise<Object>
Const getPaginatedData
- getPaginatedData(__namedParameters: object): Promise<object>
-
Parameters
-
__namedParameters: object
-
conditions: undefined | KeyValue
-
itemsPerPage: number
-
primaryKey: string
-
q: undefined | string
-
search: undefined | string
-
sort: string
-
start: number
-
table: string
Returns Promise<object>
Const updateData
- updateData(table: string, conditions: KeyValue, data: KeyValue): Promise<Object>
-
Parameters
Returns Promise<Object>
Update general data