Skip to content

mongodb/dao

Documentation

Overview

Classes

DAO

notify()

ts
notify(event: any, a: any): void;
ParameterTypeDescription
eventany
aany

Returns

  • Type: void
  • Description:

createNoSQLEntity()

ts
createNoSQLEntity(entity: any): any;
ParameterTypeDescription
entityany

Returns

  • Type: any
  • Description:

validateEntity()

ts
validateEntity(entity: any, skip: any): void;
ParameterTypeDescription
entityany
skipany

Returns

  • Type: void
  • Description:

insert()

ts
insert(_entity: any): any;
ParameterTypeDescription
_entityany

Returns

  • Type: any
  • Description:

update()

ts
update(entity: any): DAO;
ParameterTypeDescription
entityany

Returns

  • Type: DAO
  • Description:

remove()

ts
remove(id: any): void;
ParameterTypeDescription
idany

Returns

  • Type: void
  • Description:

expand()

ts
expand(expansionPath: any, context: any): void;
ParameterTypeDescription
expansionPathany
contextany

Returns

  • Type: void
  • Description:

find()

ts
find(id: any, expand: any, select: any): any;
ParameterTypeDescription
idany
expandany
selectany

Returns

  • Type: any
  • Description:

count()

ts
count(): number;

Returns

  • Type: number
  • Description:

list()

ts
list(settings: any): void;
ParameterTypeDescription
settingsany

Returns

  • Type: void
  • Description:

existsTable()

ts
existsTable(): boolean;

Returns

  • Type: boolean
  • Description:

createTable()

ts
createTable(): void;

Returns

  • Type: void
  • Description:

dropTable()

ts
dropTable(): DAO;

Returns

  • Type: DAO
  • Description: