mongodb/dao
Documentation
- source: mongodb/dao.ts
Overview
Classes
DAO
notify()
tsnotify(event: any, a: any): void;
Parameter Type Description eventanyaanyReturns
- Type:
void- Description:
createNoSQLEntity()
tscreateNoSQLEntity(entity: any): any;
Parameter Type Description entityanyReturns
- Type:
any- Description:
validateEntity()
tsvalidateEntity(entity: any, skip: any): void;
Parameter Type Description entityanyskipanyReturns
- Type:
void- Description:
insert()
tsinsert(_entity: any): any;
Parameter Type Description _entityanyReturns
- Type:
any- Description:
update()
tsupdate(entity: any): DAO;
Parameter Type Description entityanyReturns
- Type:
DAO- Description:
remove()
tsremove(id: any): void;
Parameter Type Description idanyReturns
- Type:
void- Description:
expand()
tsexpand(expansionPath: any, context: any): void;
Parameter Type Description expansionPathanycontextanyReturns
- Type:
void- Description:
find()
tsfind(id: any, expand: any, select: any): any;
Parameter Type Description idanyexpandanyselectanyReturns
- Type:
any- Description:
count()
tscount(): number;Returns
- Type:
number- Description:
list()
tslist(settings: any): void;
Parameter Type Description settingsanyReturns
- Type:
void- Description:
existsTable()
tsexistsTable(): boolean;Returns
- Type:
boolean- Description:
createTable()
tscreateTable(): void;Returns
- Type:
void- Description:
dropTable()
tsdropTable(): DAO;Returns
- Type:
DAO- Description:
