src/client/app/modules/puzzle/services/database/database-service.interface.ts
Properties |
Methods |
| connect |
connect()
|
|
Returns :
boolean
|
| delete |
delete(table: string)
|
|
Returns :
boolean
|
| exists |
exists(table: string)
|
|
Returns :
boolean
|
| pull |
pull(table: string)
|
|
Returns :
any
|
| push |
push(table: string, value: any)
|
|
Returns :
boolean
|
| zero |
zero(criteria: string)
|
|
Returns :
void
|
| tables |
tables:
|
Type : string[]
|
import {StateServiceInterface} from './../state/state-service.interface';
export interface DatabaseServiceInterface {
readonly tables: string[];
connect(): boolean;
delete(table: string): boolean;
pull(table: string):any;
push(table: string, value: any): boolean;
exists(table: string): boolean;
zero(criteria: string): void;
}